Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002181/0.002181, allocations: 112.4 kB / 16.42 MB, free: 6.504 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.002215/0.002215, allocations: 190.6 kB / 17.35 MB, free: 5.738 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.936/1.936, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 4.339/4.339, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 63.91 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9593/0.9609, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.004214/0.9651, allocations: 1.212 MB / 1.21 GB, free: 12.44 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001552/0.9667, allocations: 398.7 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.345e-05/0.9668, allocations: 4 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.9669, allocations: 3.938 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.637e-05/0.9669, allocations: 0 / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008172/0.9678, allocations: 99.64 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.319e-05/0.9679, allocations: 15.98 kB / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.035e-05/0.968, allocations: 0 / 1.21 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.481e-05/0.968, allocations: 7.984 kB / 1.21 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.641e-05/0.9681, allocations: 19.86 kB / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.9681, allocations: 0 / 1.21 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003665/0.9685, allocations: 95.84 kB / 1.21 GB, free: 11.81 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.456e-05/0.9685, allocations: 7.984 kB / 1.21 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.449e-05/0.9686, allocations: 11.94 kB / 1.21 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.9689, allocations: 79.81 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.9689, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.004e-06/0.969, allocations: 4 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.969, allocations: 0 / 1.21 GB, free: 11.71 MB / 0.9356 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.0007032/0.9697, allocations: 343.6 kB / 1.211 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.994e-05/0.9698, allocations: 8.031 kB / 1.211 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.29e-05/0.9698, allocations: 8.844 kB / 1.211 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/0.97, allocations: 172.1 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.9701, allocations: 384 / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.9701, allocations: 4.375 kB / 1.211 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.9703, allocations: 38.23 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.9703, allocations: 192 / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.289e-05/0.9704, allocations: 7.938 kB / 1.211 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.9704, allocations: 4 kB / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.802e-05/0.9705, allocations: 0 / 1.211 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002898/0.9708, allocations: 153.7 kB / 1.211 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001504/0.9709, allocations: 42.55 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.685e-05/0.971, allocations: 12.86 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.782e-05/0.9711, allocations: 0 / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002757/0.9713, allocations: 59.47 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 2.695e-06/0.9714, allocations: 0 / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0003467/0.9717, allocations: 69.56 kB / 1.211 GB, free: 10.63 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.993e-05/0.9718, allocations: 59.39 kB / 1.211 GB, free: 10.56 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001284/0.972, allocations: 97.86 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.229e-05/0.972, allocations: 29.7 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.446e-05/0.9721, allocations: 88.08 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.051e-05/0.9722, allocations: 11.8 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.79e-05/0.9722, allocations: 21.72 kB / 1.211 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001922/0.9725, allocations: 314.8 kB / 1.212 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.465e-05/0.9725, allocations: 11.98 kB / 1.212 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.322e-05/0.9726, allocations: 31.44 kB / 1.212 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.9727, allocations: 47.36 kB / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9728, allocations: 0 / 1.212 GB, free: 9.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000217/0.973, allocations: 65.62 kB / 1.212 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.482e-05/0.973, allocations: 4 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.429e-05/0.9731, allocations: 7.938 kB / 1.212 GB, free: 9.781 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.9731, allocations: 3.938 kB / 1.212 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.9732, allocations: 15.94 kB / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.9733, allocations: 0 / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.778e-05/0.9733, allocations: 0 / 1.212 GB, free: 9.762 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.9734, allocations: 7.984 kB / 1.212 GB, free: 9.754 MB / 0.9356 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 0.0001358/0.9735, allocations: 117.9 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.145e-05/0.9735, allocations: 3.906 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.805e-05/0.9736, allocations: 7.438 kB / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.9736, allocations: 0 / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.9736, allocations: 0 / 1.212 GB, free: 9.613 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.9737, allocations: 82.94 kB / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.063e-05/0.9737, allocations: 0 / 1.212 GB, free: 9.516 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.068e-05/0.9738, allocations: 3.984 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.9738, allocations: 0 / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002195/0.9741, allocations: 140.9 kB / 1.212 GB, free: 9.367 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002808/0.9744, allocations: 243.2 kB / 1.213 GB, free: 9.113 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.589e-05/0.9744, allocations: 12.02 kB / 1.213 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.712e-05/0.9745, allocations: 83.28 kB / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of Backend: time 7.31e-07/0.9745, allocations: 0 / 1.213 GB, free: 9.02 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0009801/0.9755, allocations: 159.3 kB / 1.213 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005579/0.9761, allocations: 0.5447 MB / 1.213 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of Templates: time 0.005536/0.9817, allocations: 1.058 MB / 1.214 GB, free: 7.223 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,y Variables in the result:lambda,seed,t0,time,y