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.007258/0.007258, allocations: 100.8 kB / 15.73 MB, free: 6.035 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.001606/0.001606, allocations: 197.3 kB / 16.68 MB, free: 5.953 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.371/2.371, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 63.91 kB / 0.9508 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9663/0.9677, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.Weibull1DON): time 0.003534/0.9712, allocations: 1.211 MB / 1.089 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.9727, allocations: 451.1 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.024e-05/0.9728, allocations: 5.156 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.882e-05/0.9729, allocations: 3.938 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.566e-05/0.9729, allocations: 0 / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008285/0.9738, allocations: 121.1 kB / 1.09 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.9739, allocations: 17.16 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.897e-05/0.974, allocations: 2.969 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.974, allocations: 9.891 kB / 1.09 GB, free: 4.305 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.438e-05/0.9741, allocations: 10.28 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.9741, allocations: 1.094 kB / 1.09 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.9744, allocations: 107.1 kB / 1.09 GB, free: 4.266 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.9745, allocations: 7.078 kB / 1.09 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.538e-05/0.9745, allocations: 17.14 kB / 1.09 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003084/0.9748, allocations: 99.14 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.9749, allocations: 0 / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.284e-06/0.9749, allocations: 0 / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.9749, allocations: 1.062 kB / 1.09 GB, free: 4.219 MB / 0.8575 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.0005467/0.9755, allocations: 385.9 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.9755, allocations: 9.75 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.9756, allocations: 7.031 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.514e-05/0.9757, allocations: 167.7 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.9757, allocations: 2.297 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.9758, allocations: 2.25 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.9759, allocations: 36.64 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.976, allocations: 1.406 kB / 1.09 GB, free: 3.578 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.976, allocations: 8.453 kB / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.976, allocations: 0 / 1.09 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.802e-05/0.9761, allocations: 9.109 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001576/0.9762, allocations: 166.8 kB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001027/0.9763, allocations: 31.22 kB / 1.091 GB, free: 3.336 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.635e-05/0.9764, allocations: 10.27 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.9764, allocations: 1.188 kB / 1.091 GB, free: 3.328 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.9766, allocations: 59.17 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 3.667e-06/0.9767, allocations: 4 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0003329/0.977, allocations: 69.84 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.953e-05/0.977, allocations: 51.92 kB / 1.091 GB, free: 3.164 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.679e-05/0.9771, allocations: 104.9 kB / 1.091 GB, free: 3.062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.9772, allocations: 34.48 kB / 1.091 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.8e-05/0.9772, allocations: 82.06 kB / 1.091 GB, free: 2.941 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.9772, allocations: 16.39 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.651e-05/0.9773, allocations: 20.81 kB / 1.091 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.681e-05/0.9774, allocations: 317.5 kB / 1.091 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.574e-05/0.9774, allocations: 9.922 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.355e-05/0.9775, allocations: 33.75 kB / 1.091 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001288/0.9776, allocations: 45.64 kB / 1.092 GB, free: 2.512 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.9776, allocations: 4 kB / 1.092 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001455/0.9778, allocations: 73.86 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.623e-05/0.9778, allocations: 10.23 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.9778, allocations: 1.062 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.364e-05/0.9779, allocations: 1.531 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.484e-05/0.978, allocations: 7.953 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.06e-05/0.978, allocations: 1.469 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.698e-05/0.978, allocations: 2.609 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.9781, allocations: 6.438 kB / 1.092 GB, free: 2.449 MB / 0.8575 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 7.084e-05/0.9781, allocations: 117.9 kB / 1.092 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.804e-05/0.9782, allocations: 9.5 kB / 1.092 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.9782, allocations: 9.922 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.9782, allocations: 0.6875 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.9782, allocations: 0.6875 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.9782, allocations: 0.5625 kB / 1.092 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.9784, allocations: 156.1 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.9784, allocations: 0 / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.255e-05/0.9784, allocations: 2.969 kB / 1.092 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.9784, allocations: 7.938 kB / 1.092 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.9785, allocations: 6.109 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.9785, allocations: 0.5156 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9785, allocations: 0.7188 kB / 1.092 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.9787, allocations: 83.02 kB / 1.092 GB, free: 2.031 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.645e-05/0.9787, allocations: 78.47 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.942e-05/0.9787, allocations: 13.17 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.862e-05/0.9788, allocations: 0.6875 kB / 1.092 GB, free: 1.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.9788, allocations: 7.125 kB / 1.092 GB, free: 1.922 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.696e-06/0.9788, allocations: 6.406 kB / 1.092 GB, free: 1.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.9789, allocations: 85.3 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.9789, allocations: 1.062 kB / 1.092 GB, free: 1.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002872/0.9792, allocations: 28.8 kB / 1.092 GB, free: 1.836 MB / 0.8575 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.000383/0.9796, allocations: 175.3 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001475/0.9797, allocations: 29.42 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.9797, allocations: 0.8125 kB / 1.092 GB, free: 1.707 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 5.114e-05/0.9798, allocations: 13.36 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001543/0.98, allocations: 4.641 kB / 1.092 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/0.9802, allocations: 115.9 kB / 1.093 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.9804, allocations: 0.6777 MB / 1.093 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.185e-05/0.9804, allocations: 7.203 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.666e-05/0.9804, allocations: 9.75 kB / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of SimCode: time 2.31e-07/0.9804, allocations: 0 / 1.093 GB, free: 0.8828 MB / 0.8575 GB Notification: Performance of Templates: time 0.004382/0.9848, allocations: 1.092 MB / 1.094 GB, free: 0.75 MB / 0.8575 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