Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.005221/0.00522, allocations: 98.55 kB / 15.73 MB, free: 6.039 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.001121/0.001121, allocations: 201.2 kB / 16.68 MB, free: 5.965 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.428/1.428, allocations: 222.9 MB / 240.4 MB, free: 4.16 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.819/2.819, allocations: 437 MB / 0.7105 GB, free: 5 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001417/0.001417, allocations: 67.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3698, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll): time 0.003061/0.3729, allocations: 1.501 MB / 1.168 GB, free: 5.301 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.3743, allocations: 0.7284 MB / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.278e-05/0.3743, allocations: 0 / 1.169 GB, free: 4.566 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.78e-05/0.3744, allocations: 7.922 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/0.3745, allocations: 11.88 kB / 1.169 GB, free: 4.547 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006076/0.3751, allocations: 123.6 kB / 1.169 GB, free: 4.426 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001315/0.3752, allocations: 71.78 kB / 1.169 GB, free: 4.355 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3754, allocations: 15.98 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.3755, allocations: 39.84 kB / 1.169 GB, free: 4.301 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.65e-05/0.3756, allocations: 39.83 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.3756, allocations: 12 kB / 1.169 GB, free: 4.25 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002104/0.3758, allocations: 91.84 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.036e-05/0.3758, allocations: 19.97 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.835e-05/0.3759, allocations: 31.8 kB / 1.169 GB, free: 4.109 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000262/0.3762, allocations: 143.5 kB / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.3762, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.302e-06/0.3762, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.3762, allocations: 0 / 1.169 GB, free: 3.969 MB / 0.92 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.0007013/0.3769, allocations: 424.7 kB / 1.17 GB, free: 3.5 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.377, allocations: 15.97 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.71e-05/0.377, allocations: 12.88 kB / 1.17 GB, free: 3.473 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3772, allocations: 176.3 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.946e-05/0.3772, allocations: 4.375 kB / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.3772, allocations: 384 / 1.17 GB, free: 3.258 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002001/0.3774, allocations: 77.91 kB / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3775, allocations: 0 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3775, allocations: 0 / 1.17 GB, free: 3.176 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.3775, allocations: 4 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001345/0.3776, allocations: 39.97 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006305/0.3783, allocations: 308.8 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001471/0.3784, allocations: 54.48 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.3785, allocations: 32.97 kB / 1.17 GB, free: 2.684 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.97e-05/0.3786, allocations: 4 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.3788, allocations: 79.38 kB / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 3.687e-06/0.3788, allocations: 0 / 1.171 GB, free: 2.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004129/0.3792, allocations: 145.5 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/0.3792, allocations: 51.41 kB / 1.171 GB, free: 2.379 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/0.3794, allocations: 133.8 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.3794, allocations: 25.7 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.3794, allocations: 92.09 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.3795, allocations: 23.83 kB / 1.171 GB, free: 2.09 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.352e-05/0.3795, allocations: 25.72 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.3797, allocations: 322.8 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.222e-05/0.3798, allocations: 23.98 kB / 1.171 GB, free: 1.711 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.732e-05/0.3799, allocations: 50.55 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.38, allocations: 70.5 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.38, allocations: 0 / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002822/0.3803, allocations: 121.5 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.3804, allocations: 8.062 kB / 1.172 GB, free: 1.441 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.3804, allocations: 4 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.3804, allocations: 0 / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.712e-05/0.3805, allocations: 11.98 kB / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.3805, allocations: 0 / 1.172 GB, free: 1.426 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.3806, allocations: 15.98 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/0.3806, allocations: 4 kB / 1.172 GB, free: 1.406 MB / 0.92 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.0001039/0.3807, allocations: 125.6 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.3807, allocations: 11.95 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.822e-05/0.3808, allocations: 12.38 kB / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3808, allocations: 0 / 1.172 GB, free: 1.254 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.045e-06/0.3808, allocations: 3.984 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3808, allocations: 3.938 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004766/0.3813, allocations: 382.8 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.3813, allocations: 3.938 kB / 1.172 GB, free: 0.8125 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.3813, allocations: 4 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.3813, allocations: 4 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.373e-05/0.3814, allocations: 4 kB / 1.172 GB, free: 0.8008 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.3814, allocations: 4 kB / 1.172 GB, free: 0.7969 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.3814, allocations: 4.016 kB / 1.172 GB, free: 0.793 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.3817, allocations: 203.5 kB / 1.172 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.402e-05/0.3817, allocations: 89 kB / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.3818, allocations: 0 / 1.172 GB, free: 484 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.231e-05/0.3819, allocations: 15.98 kB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.995e-05/0.3819, allocations: 3.938 kB / 1.172 GB, free: 464 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.45e-05/0.3819, allocations: 7.984 kB / 1.172 GB, free: 456 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.418e-05/0.382, allocations: 87.28 kB / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.1e-07/0.382, allocations: 0 / 1.173 GB, free: 368 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003127/0.3823, allocations: 39.92 kB / 1.173 GB, free: 328 kB / 0.92 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.0003621/0.3827, allocations: 165.1 kB / 1.173 GB, free: 168 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.383, allocations: 63.95 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.383, allocations: 7.875 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.982e-05/0.3831, allocations: 31.98 kB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3834, allocations: 10.23 kB / 1.173 GB, free: 56 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.3838, allocations: 188.2 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.3841, allocations: 0.6885 MB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.294e-05/0.3842, allocations: 7.984 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.3842, allocations: 15.44 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of SimCode: time 2.014e-06/0.3842, allocations: 0 / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of Templates: time 0.004233/0.3884, allocations: 1.456 MB / 1.175 GB, free: 13.65 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsAll.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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