Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,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.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 108.7 kB / 16.41 MB, free: 6.469 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.001367/0.001367, allocations: 187.9 kB / 17.35 MB, free: 5.715 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.319/1.319, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.505/2.505, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.89 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6547/0.656, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.002614/0.6587, allocations: 1.505 MB / 1.21 GB, free: 12.11 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.66, allocations: 0.7245 MB / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.622e-05/0.6601, allocations: 0 / 1.211 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.6602, allocations: 11.88 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.65e-05/0.6602, allocations: 7.938 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005904/0.6608, allocations: 123.5 kB / 1.211 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001187/0.661, allocations: 75.78 kB / 1.211 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.785e-05/0.6611, allocations: 11.94 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.758e-05/0.6612, allocations: 39.91 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.513e-05/0.6613, allocations: 47.83 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.6613, allocations: 4 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001987/0.6615, allocations: 95.84 kB / 1.211 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.695e-05/0.6615, allocations: 15.97 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.81e-05/0.6616, allocations: 31.8 kB / 1.211 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.6618, allocations: 147.3 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.6618, allocations: 0 / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.393e-06/0.6618, allocations: 3.938 kB / 1.211 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.6619, allocations: 0 / 1.211 GB, free: 10.78 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.0005953/0.6625, allocations: 423 kB / 1.212 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.6625, allocations: 8.031 kB / 1.212 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/0.6626, allocations: 8.844 kB / 1.212 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.6627, allocations: 172.3 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.643e-05/0.6627, allocations: 8.375 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.6627, allocations: 4.375 kB / 1.212 GB, free: 10.08 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.6629, allocations: 69.97 kB / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.885e-06/0.6629, allocations: 0 / 1.212 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.6629, allocations: 4 kB / 1.212 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.663, allocations: 7.984 kB / 1.212 GB, free: 9.996 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001325/0.6631, allocations: 35.92 kB / 1.212 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005808/0.6637, allocations: 316.7 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.6638, allocations: 46.56 kB / 1.212 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.234e-05/0.6639, allocations: 32.97 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.019e-05/0.6639, allocations: 4 kB / 1.212 GB, free: 9.508 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001909/0.6641, allocations: 75.31 kB / 1.212 GB, free: 9.422 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.954e-06/0.6641, allocations: 3.938 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004039/0.6646, allocations: 141.6 kB / 1.212 GB, free: 9.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.65e-05/0.6646, allocations: 55.41 kB / 1.213 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.6647, allocations: 125.7 kB / 1.213 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.6647, allocations: 29.7 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.66e-05/0.6648, allocations: 88.14 kB / 1.213 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.321e-05/0.6648, allocations: 19.8 kB / 1.213 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.091e-05/0.6649, allocations: 29.7 kB / 1.213 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 8.958e-05/0.665, allocations: 314.8 kB / 1.213 GB, free: 8.578 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.511e-05/0.6651, allocations: 27.98 kB / 1.213 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.817e-05/0.6652, allocations: 58.86 kB / 1.213 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001585/0.6653, allocations: 70.55 kB / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.6653, allocations: 0 / 1.213 GB, free: 8.406 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002482/0.6656, allocations: 117.5 kB / 1.213 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.6656, allocations: 13.7 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.509e-06/0.6656, allocations: 0 / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.245e-05/0.6656, allocations: 0 / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.6657, allocations: 11.94 kB / 1.213 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.948e-06/0.6658, allocations: 4 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.987e-05/0.6658, allocations: 11.92 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.273e-05/0.6659, allocations: 4 kB / 1.213 GB, free: 8.242 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.535e-05/0.666, allocations: 129.8 kB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.744e-05/0.666, allocations: 3.906 kB / 1.214 GB, free: 8.102 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.666, allocations: 12.36 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.957e-06/0.666, allocations: 0 / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.666, allocations: 3.938 kB / 1.214 GB, free: 8.082 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.499e-05/0.6661, allocations: 85.02 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.319e-05/0.6661, allocations: 8 kB / 1.214 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.43e-05/0.6662, allocations: 7.922 kB / 1.214 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.521e-05/0.6662, allocations: 4 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002869/0.6665, allocations: 192.9 kB / 1.214 GB, free: 7.766 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002912/0.6668, allocations: 283.2 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.13e-05/0.6669, allocations: 35.98 kB / 1.214 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.69e-05/0.667, allocations: 91.27 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of Backend: time 5.11e-07/0.667, allocations: 7.938 kB / 1.214 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0006429/0.6676, allocations: 171.9 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0004478/0.6681, allocations: 0.6206 MB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of Templates: time 0.004049/0.6721, allocations: 1.504 MB / 1.216 GB, free: 5.008 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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