Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 116.3 kB / 16.42 MB, free: 6.508 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.001872/0.001872, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.37/1.37, 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.557/2.557, allocations: 472.7 MB / 0.746 GB, free: 408 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 1.07 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6724/0.6737, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002668/0.6764, allocations: 1.501 MB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.6777, allocations: 0.7295 MB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.932e-05/0.6778, allocations: 3.938 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.055e-05/0.6778, allocations: 7.938 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.302e-05/0.6779, allocations: 11.86 kB / 1.229 GB, free: 11.19 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.6785, allocations: 119.6 kB / 1.229 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001216/0.6786, allocations: 71.78 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.53e-05/0.6787, allocations: 19.94 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.264e-05/0.6788, allocations: 31.91 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.339e-05/0.6789, allocations: 43.83 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.6789, allocations: 8 kB / 1.229 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.6791, allocations: 95.84 kB / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.854e-05/0.6791, allocations: 19.92 kB / 1.229 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.996e-05/0.6792, allocations: 35.84 kB / 1.229 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.00025/0.6794, allocations: 144 kB / 1.229 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.6795, allocations: 0 / 1.229 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.022e-06/0.6795, allocations: 0 / 1.229 GB, free: 10.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6795, allocations: 0 / 1.229 GB, free: 10.62 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.0006199/0.6801, allocations: 424.7 kB / 1.229 GB, free: 10.15 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.6801, allocations: 8.031 kB / 1.23 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.236e-05/0.6802, allocations: 8.891 kB / 1.23 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/0.6803, allocations: 168.3 kB / 1.23 GB, free: 9.934 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.41e-05/0.6803, allocations: 4.375 kB / 1.23 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.009e-05/0.6804, allocations: 4.375 kB / 1.23 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001826/0.6806, allocations: 69.97 kB / 1.23 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.6806, allocations: 0 / 1.23 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.6806, allocations: 4 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.6806, allocations: 4 kB / 1.23 GB, free: 9.844 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.6807, allocations: 47.84 kB / 1.23 GB, free: 9.797 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.6813, allocations: 316.7 kB / 1.23 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001287/0.6815, allocations: 46.56 kB / 1.23 GB, free: 9.383 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.063e-05/0.6816, allocations: 36.97 kB / 1.23 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.88e-05/0.6816, allocations: 3.938 kB / 1.23 GB, free: 9.34 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.6818, allocations: 79.31 kB / 1.23 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/0.6818, allocations: 0 / 1.23 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003796/0.6822, allocations: 133.6 kB / 1.23 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.6822, allocations: 63.47 kB / 1.23 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.138e-05/0.6823, allocations: 129.7 kB / 1.231 GB, free: 8.902 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.879e-05/0.6824, allocations: 29.7 kB / 1.231 GB, free: 8.867 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.286e-05/0.6824, allocations: 88.14 kB / 1.231 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.922e-05/0.6824, allocations: 15.89 kB / 1.231 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.726e-05/0.6825, allocations: 25.7 kB / 1.231 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.6826, allocations: 322.8 kB / 1.231 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.486e-05/0.6827, allocations: 35.92 kB / 1.231 GB, free: 8.371 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.386e-05/0.6828, allocations: 46.55 kB / 1.231 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000153/0.683, allocations: 70.86 kB / 1.231 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.683, allocations: 0 / 1.231 GB, free: 8.238 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000239/0.6832, allocations: 117.5 kB / 1.231 GB, free: 8.117 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.6832, allocations: 4 kB / 1.231 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.6832, allocations: 3.984 kB / 1.231 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.6833, allocations: 4 kB / 1.231 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.322e-05/0.6834, allocations: 11.94 kB / 1.231 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.6834, allocations: 0 / 1.231 GB, free: 8.094 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.048e-05/0.6834, allocations: 15.86 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.6835, allocations: 4 kB / 1.231 GB, free: 8.074 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.332e-05/0.6836, allocations: 122.4 kB / 1.231 GB, free: 7.945 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.6836, allocations: 7.953 kB / 1.231 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.776e-05/0.6836, allocations: 12.36 kB / 1.231 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.6836, allocations: 0 / 1.231 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6836, allocations: 4 kB / 1.231 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.239e-05/0.6837, allocations: 81.06 kB / 1.232 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/0.6837, allocations: 0 / 1.232 GB, free: 7.82 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.765e-05/0.6838, allocations: 15.94 kB / 1.232 GB, free: 7.805 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.6838, allocations: 11.92 kB / 1.232 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002939/0.6841, allocations: 192.9 kB / 1.232 GB, free: 7.598 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002915/0.6844, allocations: 282.7 kB / 1.232 GB, free: 7.305 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.991e-05/0.6845, allocations: 31.92 kB / 1.232 GB, free: 7.273 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.59e-05/0.6846, allocations: 95.27 kB / 1.232 GB, free: 7.18 MB / 0.9512 GB Notification: Performance of Backend: time 3.21e-07/0.6846, allocations: 8 kB / 1.232 GB, free: 7.172 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006173/0.6852, allocations: 178.4 kB / 1.232 GB, free: 7.008 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004746/0.6857, allocations: 0.6291 MB / 1.233 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of Templates: time 0.004007/0.6897, allocations: 1.499 MB / 1.234 GB, free: 4.836 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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