Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") translateModel(Buildings.Occupants.BaseClasses.Validation.Weibull1DON,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001122/0.001122, allocations: 196.8 kB / 16.14 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.388/2.388, allocations: 390.2 MB / 0.6642 GB, free: 0.6055 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 63.91 kB / 0.8119 GB, free: 14.88 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7249/0.7261, allocations: 140.4 MB / 0.9489 GB, free: 9.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.002117/0.7283, allocations: 1.287 MB / 0.9502 GB, free: 8.121 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0007375/0.7291, allocations: 462.2 kB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.904e-05/0.7291, allocations: 1.375 kB / 0.9506 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.99e-05/0.7291, allocations: 4 kB / 0.9506 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.132e-05/0.7292, allocations: 3.938 kB / 0.9506 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000417/0.7296, allocations: 84.67 kB / 0.9507 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 4.814e-05/0.7297, allocations: 25.53 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.403e-05/0.7297, allocations: 1.375 kB / 0.9507 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.7297, allocations: 13.44 kB / 0.9507 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.183e-05/0.7298, allocations: 10.67 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.7298, allocations: 1.375 kB / 0.9508 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000217/0.73, allocations: 98.08 kB / 0.9508 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.857e-05/0.73, allocations: 6.812 kB / 0.9509 GB, free: 7.637 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.268e-05/0.7301, allocations: 10.91 kB / 0.9509 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.7303, allocations: 108 kB / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.7303, allocations: 0 / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.22e-07/0.7303, allocations: 0 / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.81e-06/0.7303, allocations: 0 / 0.951 GB, free: 7.562 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004935/0.7308, allocations: 384.4 kB / 0.9513 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.458e-05/0.7309, allocations: 9.719 kB / 0.9513 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.551e-05/0.7309, allocations: 6.312 kB / 0.9513 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001032/0.731, allocations: 171 kB / 0.9515 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.49e-05/0.7311, allocations: 5.875 kB / 0.9515 GB, free: 6.938 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.365e-05/0.7311, allocations: 5.719 kB / 0.9515 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000118/0.7312, allocations: 36.16 kB / 0.9516 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.7312, allocations: 192 / 0.9516 GB, free: 6.898 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.7312, allocations: 4.844 kB / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.7313, allocations: 0 / 0.9516 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.484e-05/0.7313, allocations: 7.906 kB / 0.9516 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.7315, allocations: 158.8 kB / 0.9517 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.531e-05/0.7315, allocations: 29.92 kB / 0.9517 GB, free: 6.66 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.81e-05/0.7316, allocations: 18.53 kB / 0.9518 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.7316, allocations: 1.281 kB / 0.9518 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001731/0.7318, allocations: 52.38 kB / 0.9518 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=4): time 2.465e-06/0.7318, allocations: 3.984 kB / 0.9518 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4): time 0.0002553/0.7321, allocations: 77.8 kB / 0.9519 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.7321, allocations: 60.73 kB / 0.952 GB, free: 6.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.701e-05/0.7322, allocations: 109.3 kB / 0.9521 GB, free: 6.348 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.423e-05/0.7322, allocations: 27.02 kB / 0.9521 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.423e-05/0.7323, allocations: 85.48 kB / 0.9522 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.728e-05/0.7323, allocations: 9.094 kB / 0.9522 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.744e-05/0.7323, allocations: 23.27 kB / 0.9522 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.558e-05/0.7324, allocations: 316.1 kB / 0.9525 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.622e-05/0.7325, allocations: 9.047 kB / 0.9525 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.7325, allocations: 34.25 kB / 0.9525 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.766e-05/0.7326, allocations: 47.8 kB / 0.9526 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.7326, allocations: 1.281 kB / 0.9526 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001067/0.7327, allocations: 72.34 kB / 0.9527 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.7327, allocations: 8.969 kB / 0.9527 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.7327, allocations: 2.281 kB / 0.9527 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.323e-05/0.7328, allocations: 1.844 kB / 0.9527 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.069e-05/0.7329, allocations: 5.469 kB / 0.9527 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.7329, allocations: 5.344 kB / 0.9527 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/0.7329, allocations: 5.406 kB / 0.9527 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.254e-05/0.7329, allocations: 6.578 kB / 0.9527 GB, free: 5.723 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 (y,$PRE.y,curSeed,$PRE.curSeed,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.14e-05/0.733, allocations: 112.6 kB / 0.9528 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.733, allocations: 9.844 kB / 0.9528 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.25e-05/0.7331, allocations: 5.562 kB / 0.9528 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.7331, allocations: 0 / 0.9528 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.7331, allocations: 5.156 kB / 0.9528 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.7331, allocations: 0 / 0.9528 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001154/0.7332, allocations: 159.1 kB / 0.953 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.7332, allocations: 3.984 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.24e-05/0.7333, allocations: 1.406 kB / 0.953 GB, free: 5.379 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.7333, allocations: 5.688 kB / 0.953 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.7333, allocations: 0 / 0.953 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7333, allocations: 4 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.7333, allocations: 1.906 kB / 0.953 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001588/0.7335, allocations: 85.95 kB / 0.9531 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.7335, allocations: 78.33 kB / 0.9531 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.957e-05/0.7335, allocations: 5.156 kB / 0.9531 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.432e-05/0.7336, allocations: 256 / 0.9531 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.7336, allocations: 5.281 kB / 0.9532 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.7336, allocations: 10.17 kB / 0.9532 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.55e-05/0.7337, allocations: 83.72 kB / 0.9532 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.613e-06/0.7337, allocations: 0 / 0.9532 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003505/0.734, allocations: 39.86 kB / 0.9533 GB, free: 5.086 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y,curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004431/0.7345, allocations: 154.7 kB / 0.9534 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001408/0.7346, allocations: 29.45 kB / 0.9535 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.7346, allocations: 3.938 kB / 0.9535 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.315e-05/0.7347, allocations: 16.34 kB / 0.9535 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001769/0.7349, allocations: 8.094 kB / 0.9535 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000244/0.7351, allocations: 117.3 kB / 0.9536 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.7353, allocations: 0.6825 MB / 0.9543 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.425e-05/0.7353, allocations: 5.75 kB / 0.9543 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.7353, allocations: 10.16 kB / 0.9543 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.7353, allocations: 0 / 0.9543 GB, free: 4.113 MB / 0.7169 GB Notification: Performance of Templates: time 0.003849/0.7392, allocations: 1.073 MB / 0.9553 GB, free: 3.551 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.makefile (rm -f Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; mkfifo Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe >> ../files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.sim & ./Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_BaseClasses_Validation_Weibull1DON.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:L,dt,k,seed,t0,time,u,y