Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration") translateModel(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|y",fileNamePrefix="Buildings_10_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.001161/0.001161, allocations: 113.9 kB / 16.42 MB, free: 6.492 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.001082/0.001082, allocations: 185.7 kB / 17.35 MB, free: 5.762 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.308/1.308, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.423/2.423, allocations: 437 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.91 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6677/0.6691, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration): time 0.002217/0.6713, allocations: 1.212 MB / 1.168 GB, free: 2.633 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008023/0.6722, allocations: 413.1 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.6722, allocations: 0 / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.669e-05/0.6723, allocations: 0 / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.805e-05/0.6723, allocations: 3.984 kB / 1.169 GB, free: 2.227 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005549/0.6729, allocations: 91.66 kB / 1.169 GB, free: 2.137 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 6.548e-05/0.6729, allocations: 15.88 kB / 1.169 GB, free: 2.121 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.673, allocations: 7.984 kB / 1.169 GB, free: 2.113 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.526e-05/0.673, allocations: 15.92 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 2.519e-05/0.6731, allocations: 4 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.6731, allocations: 4 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002173/0.6733, allocations: 91.89 kB / 1.169 GB, free: 2 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.6733, allocations: 4 kB / 1.169 GB, free: 1.996 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.956e-05/0.6734, allocations: 7.938 kB / 1.169 GB, free: 1.988 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001837/0.6736, allocations: 91.75 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.6736, allocations: 4 kB / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6736, allocations: 0 / 1.169 GB, free: 1.895 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.6736, allocations: 0 / 1.169 GB, free: 1.895 MB / 0.8887 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.0004661/0.6741, allocations: 347.6 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.6741, allocations: 8.922 kB / 1.17 GB, free: 1.496 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.137e-05/0.6742, allocations: 8.844 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001148/0.6743, allocations: 176.2 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/0.6743, allocations: 384 / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.092e-05/0.6743, allocations: 384 / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.6744, allocations: 42.25 kB / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.6744, allocations: 192 / 1.17 GB, free: 1.234 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.6744, allocations: 3.938 kB / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.6745, allocations: 0 / 1.17 GB, free: 1.23 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.769e-05/0.6745, allocations: 11.94 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001496/0.6746, allocations: 157.7 kB / 1.17 GB, free: 1.016 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.671e-05/0.6747, allocations: 34.52 kB / 1.17 GB, free: 0.9727 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.66e-05/0.6748, allocations: 8.859 kB / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.6748, allocations: 96 / 1.17 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001374/0.6749, allocations: 59.39 kB / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 1.443e-06/0.6749, allocations: 0 / 1.17 GB, free: 0.8906 MB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.0001881/0.6751, allocations: 73.55 kB / 1.17 GB, free: 0.8125 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.6752, allocations: 55.41 kB / 1.17 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.868e-05/0.6752, allocations: 97.86 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.6752, allocations: 25.7 kB / 1.17 GB, free: 0.6094 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 3.138e-05/0.6753, allocations: 88.12 kB / 1.17 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.972e-05/0.6753, allocations: 11.81 kB / 1.17 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.6754, allocations: 21.72 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 8.841e-05/0.6754, allocations: 318.8 kB / 1.171 GB, free: 164 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.902e-05/0.6755, allocations: 4 kB / 1.171 GB, free: 160 kB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.6755, allocations: 31.44 kB / 1.171 GB, free: 116 kB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.964e-05/0.6756, allocations: 51.36 kB / 1.171 GB, free: 52 kB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.6756, allocations: 4 kB / 1.171 GB, free: 48 kB / 0.8887 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001114/0.6757, allocations: 69.88 kB / 1.171 GB, free: 15.97 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/0.6757, allocations: 8 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6757, allocations: 3.938 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.6757, allocations: 48 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.281e-05/0.6758, allocations: 15.97 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.6758, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.005e-05/0.6759, allocations: 8.094 kB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.114e-06/0.6759, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 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 6.837e-05/0.676, allocations: 113.8 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.302e-05/0.676, allocations: 3.906 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.685e-05/0.676, allocations: 11.44 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.676, allocations: 3.938 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.676, allocations: 0 / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 3.383e-05/0.6761, allocations: 82.92 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.6761, allocations: 0 / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.436e-05/0.6761, allocations: 4 kB / 1.171 GB, free: 15.69 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.903e-05/0.6761, allocations: 4 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001222/0.6763, allocations: 137 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001424/0.6764, allocations: 238.6 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 2.593e-05/0.6764, allocations: 7.984 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.084e-05/0.6765, allocations: 83.28 kB / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of Backend: time 5.31e-07/0.6765, allocations: 0 / 1.172 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005701/0.6771, allocations: 164.4 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0003341/0.6774, allocations: 0.5498 MB / 1.172 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of Templates: time 0.003284/0.6807, allocations: 1.039 MB / 1.173 GB, free: 13.41 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.makefile (rm -f Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; mkfifo Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe >> ../files/Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.sim & ./Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.BaseClasses.Validation.WeibullVariableGeneration_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_BaseClasses_Validation_WeibullVariableGeneration.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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