Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,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.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007206/0.007206, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.001485/0.001485, allocations: 192.6 kB / 16.67 MB, free: 5.977 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.701/2.701, allocations: 437 MB / 0.7105 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 59.91 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3617/0.363, allocations: 151.6 MB / 1.167 GB, free: 6.82 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002701/0.3658, allocations: 1.494 MB / 1.168 GB, free: 5.309 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.3671, allocations: 0.7245 MB / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.3671, allocations: 0 / 1.169 GB, free: 4.578 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.528e-05/0.3672, allocations: 3.938 kB / 1.169 GB, free: 4.574 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.258e-05/0.3673, allocations: 15.86 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006351/0.3679, allocations: 123.6 kB / 1.169 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001373/0.368, allocations: 79.7 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.3682, allocations: 16 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001006/0.3683, allocations: 39.89 kB / 1.169 GB, free: 4.305 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.669e-05/0.3684, allocations: 31.91 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.3684, allocations: 11.94 kB / 1.169 GB, free: 4.262 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002256/0.3686, allocations: 91.84 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.015e-05/0.3687, allocations: 15.98 kB / 1.169 GB, free: 4.156 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.289e-05/0.3687, allocations: 31.84 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.369, allocations: 143.5 kB / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.369, allocations: 0 / 1.169 GB, free: 3.984 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.647e-06/0.369, allocations: 8 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.369, allocations: 3.938 kB / 1.169 GB, free: 3.973 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.0007888/0.3698, allocations: 424.7 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.3699, allocations: 12.03 kB / 1.17 GB, free: 3.492 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.3699, allocations: 8.891 kB / 1.17 GB, free: 3.484 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001557/0.3701, allocations: 176.2 kB / 1.17 GB, free: 3.273 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.3701, allocations: 4.359 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3702, allocations: 8.375 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.3704, allocations: 73.97 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.3704, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.948e-05/0.3704, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.3705, allocations: 0 / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.3706, allocations: 35.97 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006604/0.3713, allocations: 324.7 kB / 1.17 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.3714, allocations: 42.56 kB / 1.17 GB, free: 2.73 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.616e-05/0.3715, allocations: 36.97 kB / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.3715, allocations: 0 / 1.17 GB, free: 2.691 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.3717, allocations: 79.38 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.3717, allocations: 4 kB / 1.171 GB, free: 2.598 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000416/0.3722, allocations: 141.8 kB / 1.171 GB, free: 2.453 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3722, allocations: 59.41 kB / 1.171 GB, free: 2.383 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.3723, allocations: 117.8 kB / 1.171 GB, free: 2.258 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.3723, allocations: 25.7 kB / 1.171 GB, free: 2.227 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.072e-05/0.3724, allocations: 100.1 kB / 1.171 GB, free: 2.125 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3724, allocations: 15.78 kB / 1.171 GB, free: 2.109 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.105e-05/0.3725, allocations: 33.7 kB / 1.171 GB, free: 2.07 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.3726, allocations: 326.8 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.509e-05/0.3727, allocations: 19.98 kB / 1.171 GB, free: 1.723 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.466e-05/0.3728, allocations: 47 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001564/0.373, allocations: 86.55 kB / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.373, allocations: 0 / 1.171 GB, free: 1.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002178/0.3732, allocations: 109.5 kB / 1.172 GB, free: 1.461 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.3732, allocations: 4 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3732, allocations: 0 / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.3732, allocations: 8 kB / 1.172 GB, free: 1.449 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.044e-05/0.3733, allocations: 11.98 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.3733, allocations: 0 / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.067e-05/0.3734, allocations: 16 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.43e-05/0.3734, allocations: 4 kB / 1.172 GB, free: 1.418 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.0001013/0.3735, allocations: 121.8 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.3736, allocations: 11.89 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.454e-05/0.3736, allocations: 8.375 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.644e-06/0.3736, allocations: 0 / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3736, allocations: 4 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.3736, allocations: 0 / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004258/0.374, allocations: 390.3 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3741, allocations: 0 / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.918e-05/0.3741, allocations: 11.98 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.3741, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.3741, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.3741, allocations: 0 / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3741, allocations: 7.875 kB / 1.172 GB, free: 0.8086 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002898/0.3744, allocations: 207.5 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.174e-05/0.3745, allocations: 88.98 kB / 1.172 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.932e-05/0.3745, allocations: 4 kB / 1.172 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.313e-05/0.3746, allocations: 4 kB / 1.172 GB, free: 488 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.025e-05/0.3747, allocations: 15.86 kB / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.3747, allocations: 4 kB / 1.172 GB, free: 468 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.345e-05/0.3747, allocations: 95.42 kB / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3747, allocations: 0 / 1.173 GB, free: 372 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002775/0.375, allocations: 39.94 kB / 1.173 GB, free: 332 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.0003438/0.3754, allocations: 159.1 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002322/0.3756, allocations: 72.12 kB / 1.173 GB, free: 108 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.3756, allocations: 4.125 kB / 1.173 GB, free: 104 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 9.54e-05/0.3757, allocations: 35.98 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.376, allocations: 8.312 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.3764, allocations: 180.1 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002818/0.3767, allocations: 0.6885 MB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.014e-05/0.3767, allocations: 8 kB / 1.174 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.042e-05/0.3768, allocations: 15.42 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of SimCode: time 2.6e-07/0.3768, allocations: 0 / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of Templates: time 0.004313/0.3811, allocations: 1.452 MB / 1.175 GB, free: 13.66 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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