Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 112.1 kB / 16.42 MB, free: 6.016 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.001166/0.001166, allocations: 192.9 kB / 17.35 MB, free: 5.617 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.345/1.345, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.717/2.717, allocations: 472.7 MB / 0.746 GB, free: 416 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 67.89 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6673/0.6687, allocations: 159.9 MB / 1.226 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.002546/0.6713, allocations: 1.497 MB / 1.228 GB, free: 12 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001249/0.6725, allocations: 0.7179 MB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.692e-05/0.6726, allocations: 8 kB / 1.229 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.999e-05/0.6727, allocations: 3.938 kB / 1.229 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.669e-05/0.6727, allocations: 11.81 kB / 1.229 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005911/0.6733, allocations: 127.5 kB / 1.229 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001255/0.6735, allocations: 75.77 kB / 1.229 GB, free: 11.06 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.286e-05/0.6736, allocations: 15.95 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.623e-05/0.6737, allocations: 35.91 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.11e-05/0.6738, allocations: 39.83 kB / 1.229 GB, free: 10.97 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.6738, allocations: 8 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000232/0.674, allocations: 95.84 kB / 1.229 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 3.744e-05/0.6741, allocations: 23.91 kB / 1.229 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.6741, allocations: 27.86 kB / 1.229 GB, free: 10.82 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002523/0.6744, allocations: 143 kB / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6744, allocations: 0 / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.142e-06/0.6744, allocations: 0 / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.6744, allocations: 0 / 1.229 GB, free: 10.68 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006075/0.675, allocations: 425.8 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.6751, allocations: 8.031 kB / 1.229 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.6751, allocations: 8.891 kB / 1.23 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.6752, allocations: 176.3 kB / 1.23 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.479e-05/0.6753, allocations: 384 / 1.23 GB, free: 9.988 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.6753, allocations: 8.375 kB / 1.23 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.6755, allocations: 69.97 kB / 1.23 GB, free: 9.906 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.6755, allocations: 3.984 kB / 1.23 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.6755, allocations: 11.92 kB / 1.23 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.6755, allocations: 0 / 1.23 GB, free: 9.891 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.6757, allocations: 31.98 kB / 1.23 GB, free: 9.859 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.6763, allocations: 328.6 kB / 1.23 GB, free: 9.488 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.6764, allocations: 46.56 kB / 1.23 GB, free: 9.434 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.998e-05/0.6765, allocations: 32.97 kB / 1.23 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.6765, allocations: 4 kB / 1.23 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.6767, allocations: 75.38 kB / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 2.104e-06/0.6767, allocations: 0 / 1.23 GB, free: 9.309 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003889/0.6771, allocations: 141.6 kB / 1.23 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.6772, allocations: 63.39 kB / 1.23 GB, free: 9.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.744e-05/0.6773, allocations: 121.8 kB / 1.231 GB, free: 8.961 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.752e-05/0.6773, allocations: 25.7 kB / 1.231 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.6774, allocations: 96.12 kB / 1.231 GB, free: 8.832 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.652e-05/0.6774, allocations: 7.906 kB / 1.231 GB, free: 8.824 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.6774, allocations: 29.7 kB / 1.231 GB, free: 8.789 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.077e-05/0.6775, allocations: 322.8 kB / 1.231 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.772e-05/0.6776, allocations: 35.97 kB / 1.231 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.077e-05/0.6777, allocations: 43 kB / 1.231 GB, free: 8.379 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.6779, allocations: 78.42 kB / 1.231 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6779, allocations: 0 / 1.231 GB, free: 8.293 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000251/0.6782, allocations: 117.5 kB / 1.231 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6782, allocations: 4 kB / 1.231 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.6782, allocations: 0 / 1.231 GB, free: 8.168 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.6782, allocations: 4 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.904e-05/0.6783, allocations: 15.94 kB / 1.231 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.136e-05/0.6783, allocations: 4.375 kB / 1.231 GB, free: 8.145 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.119e-05/0.6784, allocations: 7.938 kB / 1.231 GB, free: 8.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.6784, allocations: 7.938 kB / 1.231 GB, free: 8.129 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.119e-05/0.6785, allocations: 122.4 kB / 1.231 GB, free: 8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.064e-05/0.6786, allocations: 7.953 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.752e-05/0.6786, allocations: 12.36 kB / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.6786, allocations: 0 / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.6786, allocations: 0 / 1.231 GB, free: 7.977 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.732e-05/0.6786, allocations: 85.06 kB / 1.232 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.749e-05/0.6787, allocations: 0 / 1.232 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.574e-05/0.6787, allocations: 11.92 kB / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.6788, allocations: 12 kB / 1.232 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002826/0.6791, allocations: 192.8 kB / 1.232 GB, free: 7.656 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002875/0.6794, allocations: 282.7 kB / 1.232 GB, free: 7.363 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.597e-05/0.6795, allocations: 27.98 kB / 1.232 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.6795, allocations: 99.42 kB / 1.232 GB, free: 7.238 MB / 0.9512 GB Notification: Performance of Backend: time 4.01e-07/0.6795, allocations: 4 kB / 1.232 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006503/0.6802, allocations: 186.8 kB / 1.232 GB, free: 7.062 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004354/0.6806, allocations: 0.6215 MB / 1.233 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of Templates: time 0.004064/0.6847, allocations: 1.51 MB / 1.234 GB, free: 4.895 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsCompletelyOpen.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0