Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,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.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,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.Zhang2012WindowsEast") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007714/0.007714, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001732/0.001732, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.562/1.562, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.73/2.73, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001313, allocations: 64.12 kB / 1.054 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8548/0.8561, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002866/0.859, allocations: 1.506 MB / 1.209 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00123/0.8603, allocations: 0.7245 MB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.503e-05/0.8603, allocations: 0 / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.116e-05/0.8604, allocations: 11.94 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.8605, allocations: 7.875 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005858/0.8611, allocations: 123.6 kB / 1.21 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.8612, allocations: 75.77 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.8613, allocations: 19.94 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.224e-05/0.8614, allocations: 39.84 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.191e-05/0.8615, allocations: 39.83 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.8615, allocations: 12 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.8617, allocations: 87.91 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.454e-05/0.8617, allocations: 15.98 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.931e-05/0.8618, allocations: 31.8 kB / 1.21 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.862, allocations: 143.3 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.8621, allocations: 4 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.253e-06/0.8621, allocations: 3.938 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.125e-06/0.8621, allocations: 0 / 1.21 GB, free: 10.79 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.0005934/0.8627, allocations: 423 kB / 1.211 GB, free: 10.32 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.8627, allocations: 12.03 kB / 1.211 GB, free: 10.31 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.493e-05/0.8628, allocations: 8.844 kB / 1.211 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.8629, allocations: 172.3 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.8629, allocations: 4.359 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.863, allocations: 4.375 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001835/0.8631, allocations: 77.91 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.8632, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.8632, allocations: 0 / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.8632, allocations: 4 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.8633, allocations: 35.97 kB / 1.211 GB, free: 9.965 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/0.8639, allocations: 316.7 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.864, allocations: 42.56 kB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.354e-05/0.8641, allocations: 40.91 kB / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/0.8642, allocations: 0 / 1.212 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001828/0.8643, allocations: 83.44 kB / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 2.785e-06/0.8644, allocations: 0 / 1.212 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0003967/0.8648, allocations: 137.5 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.8648, allocations: 59.41 kB / 1.212 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.528e-05/0.8649, allocations: 129.7 kB / 1.212 GB, free: 9.07 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.8649, allocations: 25.7 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.865, allocations: 92.12 kB / 1.212 GB, free: 8.945 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.865, allocations: 11.81 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.915e-05/0.8651, allocations: 29.7 kB / 1.212 GB, free: 8.898 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8652, allocations: 326.8 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.028e-05/0.8653, allocations: 23.98 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.226e-05/0.8654, allocations: 47 kB / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.8655, allocations: 82.77 kB / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.8656, allocations: 0 / 1.213 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002544/0.8658, allocations: 121.5 kB / 1.213 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.8658, allocations: 4 kB / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.8658, allocations: 0 / 1.213 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.8659, allocations: 4 kB / 1.213 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.842e-05/0.866, allocations: 11.98 kB / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.866, allocations: 0 / 1.213 GB, free: 8.258 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.804e-05/0.8661, allocations: 7.938 kB / 1.213 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.8661, allocations: 8 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 0.000103/0.8662, allocations: 132.9 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.775e-05/0.8662, allocations: 7.906 kB / 1.213 GB, free: 8.098 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.74e-05/0.8662, allocations: 8.375 kB / 1.213 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.8663, allocations: 7.938 kB / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.8663, allocations: 0 / 1.213 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.8663, allocations: 3.938 kB / 1.213 GB, free: 8.074 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000449/0.8667, allocations: 374.5 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.8667, allocations: 0 / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.8668, allocations: 11.98 kB / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8668, allocations: 0 / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.8668, allocations: 4 kB / 1.213 GB, free: 7.637 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.8668, allocations: 3.938 kB / 1.213 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.8668, allocations: 7.938 kB / 1.213 GB, free: 7.625 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.8671, allocations: 207.4 kB / 1.213 GB, free: 7.406 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.496e-05/0.8672, allocations: 85.02 kB / 1.214 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.8672, allocations: 4 kB / 1.214 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.705e-05/0.8673, allocations: 4 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.179e-05/0.8673, allocations: 11.92 kB / 1.214 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.308e-06/0.8673, allocations: 4 kB / 1.214 GB, free: 7.281 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.414e-05/0.8674, allocations: 95.42 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8674, allocations: 0 / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002938/0.8677, allocations: 39.94 kB / 1.214 GB, free: 7.148 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003496/0.8681, allocations: 156.7 kB / 1.214 GB, free: 7 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002413/0.8683, allocations: 71.91 kB / 1.214 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8683, allocations: 0 / 1.214 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.8684, allocations: 36.31 kB / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.8687, allocations: 11.98 kB / 1.214 GB, free: 6.883 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.8691, allocations: 188.6 kB / 1.214 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.8694, allocations: 0.6885 MB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.726e-05/0.8694, allocations: 7.984 kB / 1.215 GB, free: 5.945 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.497e-05/0.8695, allocations: 15.42 kB / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.8695, allocations: 0 / 1.215 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of Templates: time 0.003925/0.8734, allocations: 1.473 MB / 1.216 GB, free: 4.461 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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