Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 115.7 kB / 16.42 MB, free: 6.516 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.00177/0.00177, 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.294/1.294, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.487/2.487, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 60.12 kB / 1.054 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6636/0.665, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.002504/0.6675, allocations: 1.497 MB / 1.21 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.6687, allocations: 0.7245 MB / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.462e-05/0.6688, allocations: 0 / 1.21 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.6689, allocations: 7.938 kB / 1.21 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.927e-05/0.6689, allocations: 11.88 kB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005646/0.6695, allocations: 123.6 kB / 1.211 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.6696, allocations: 83.69 kB / 1.211 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.502e-05/0.6697, allocations: 11.95 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.51e-05/0.6698, allocations: 39.91 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.835e-05/0.6699, allocations: 43.83 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.714e-05/0.6699, allocations: 4 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.6701, allocations: 95.84 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.6701, allocations: 15.98 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.6702, allocations: 31.8 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002204/0.6704, allocations: 139.3 kB / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.6704, allocations: 0 / 1.211 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.153e-06/0.6704, allocations: 3.938 kB / 1.211 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.6704, allocations: 0 / 1.211 GB, free: 10.81 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005645/0.671, allocations: 427 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.6711, allocations: 8.031 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.6711, allocations: 8.844 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000106/0.6712, allocations: 180.2 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.6712, allocations: 4.375 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.6713, allocations: 8.375 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001719/0.6714, allocations: 65.97 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.6715, allocations: 4 kB / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.6715, allocations: 0 / 1.212 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.6715, allocations: 4 kB / 1.212 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.6716, allocations: 35.97 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005704/0.6722, allocations: 316.7 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.6723, allocations: 46.56 kB / 1.212 GB, free: 9.574 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.852e-05/0.6724, allocations: 32.97 kB / 1.212 GB, free: 9.539 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.6725, allocations: 4 kB / 1.212 GB, free: 9.535 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001769/0.6726, allocations: 87.42 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 4.379e-06/0.6726, allocations: 0 / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003838/0.673, allocations: 145.4 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.6731, allocations: 59.41 kB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.897e-05/0.6732, allocations: 121.8 kB / 1.212 GB, free: 9.09 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.6732, allocations: 29.7 kB / 1.212 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.6732, allocations: 88.12 kB / 1.213 GB, free: 8.965 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.6733, allocations: 15.81 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.912e-05/0.6733, allocations: 29.7 kB / 1.213 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.549e-05/0.6734, allocations: 322.8 kB / 1.213 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.94e-05/0.6735, allocations: 27.98 kB / 1.213 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.893e-05/0.6736, allocations: 50.94 kB / 1.213 GB, free: 8.504 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.6738, allocations: 74.47 kB / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6738, allocations: 0 / 1.213 GB, free: 8.422 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002311/0.674, allocations: 117.5 kB / 1.213 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.6741, allocations: 8 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.6741, allocations: 0 / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.6741, allocations: 0 / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.276e-05/0.6742, allocations: 15.92 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.141e-05/0.6742, allocations: 4 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.6743, allocations: 11.94 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.6743, allocations: 0 / 1.213 GB, free: 8.262 MB / 0.9356 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.732e-05/0.6744, allocations: 129.8 kB / 1.213 GB, free: 8.125 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.567e-05/0.6744, allocations: 3.906 kB / 1.213 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.458e-05/0.6744, allocations: 12.38 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.6744, allocations: 7.922 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.6744, allocations: 0 / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.587e-05/0.6745, allocations: 88.95 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.832e-05/0.6745, allocations: 3.984 kB / 1.213 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.963e-05/0.6746, allocations: 7.938 kB / 1.213 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.6746, allocations: 4 kB / 1.213 GB, free: 7.977 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002792/0.6749, allocations: 192.8 kB / 1.214 GB, free: 7.781 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002819/0.6752, allocations: 278.8 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.428e-05/0.6753, allocations: 31.98 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.42e-05/0.6753, allocations: 91.27 kB / 1.214 GB, free: 7.371 MB / 0.9356 GB Notification: Performance of Backend: time 3.21e-07/0.6754, allocations: 4 kB / 1.214 GB, free: 7.367 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000621/0.676, allocations: 182.1 kB / 1.214 GB, free: 7.199 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004215/0.6764, allocations: 0.6176 MB / 1.215 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of Templates: time 0.003761/0.6802, allocations: 1.5 MB / 1.216 GB, free: 5.035 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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