Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Herkel2008WindowsSmall,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.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_latest_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.006893/0.006893, allocations: 102.9 kB / 15.73 MB, free: 6.043 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.001823/0.001823, allocations: 194.1 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.776/2.776, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.89 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3538, allocations: 157.4 MB / 1.208 GB, free: 9.676 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002808/0.3566, allocations: 1.499 MB / 1.209 GB, free: 8.164 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001217/0.3579, allocations: 0.7326 MB / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.929e-05/0.3579, allocations: 0 / 1.21 GB, free: 7.426 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.211e-05/0.358, allocations: 7.922 kB / 1.21 GB, free: 7.418 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.51e-05/0.358, allocations: 11.86 kB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005556/0.3586, allocations: 127.6 kB / 1.21 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.3587, allocations: 75.78 kB / 1.21 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.3588, allocations: 11.94 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.282e-05/0.3589, allocations: 35.91 kB / 1.21 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.231e-05/0.359, allocations: 39.83 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.968e-05/0.359, allocations: 8 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002009/0.3592, allocations: 99.84 kB / 1.21 GB, free: 7.016 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.196e-05/0.3593, allocations: 11.92 kB / 1.21 GB, free: 7.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.3593, allocations: 39.84 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002294/0.3596, allocations: 143.6 kB / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.237e-06/0.3596, allocations: 0 / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.223e-06/0.3596, allocations: 0 / 1.21 GB, free: 6.824 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3596, allocations: 0 / 1.21 GB, free: 6.824 MB / 0.9669 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.000646/0.3602, allocations: 409 kB / 1.211 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.608e-05/0.3603, allocations: 8.031 kB / 1.211 GB, free: 6.363 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.645e-05/0.3603, allocations: 12.83 kB / 1.211 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.3605, allocations: 184.2 kB / 1.211 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.3605, allocations: 8.312 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.803e-05/0.3605, allocations: 4.375 kB / 1.211 GB, free: 6.121 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.3607, allocations: 73.95 kB / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3607, allocations: 0 / 1.211 GB, free: 6.043 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.3608, allocations: 4 kB / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.3608, allocations: 0 / 1.211 GB, free: 6.039 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001278/0.3609, allocations: 39.91 kB / 1.211 GB, free: 6 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006044/0.3615, allocations: 324.6 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001296/0.3616, allocations: 50.55 kB / 1.212 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.7e-05/0.3617, allocations: 28.97 kB / 1.212 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.221e-05/0.3618, allocations: 4 kB / 1.212 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.3619, allocations: 75.38 kB / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.3619, allocations: 0 / 1.212 GB, free: 5.453 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0003706/0.3623, allocations: 137.6 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3624, allocations: 55.47 kB / 1.212 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.329e-05/0.3625, allocations: 129.7 kB / 1.212 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.3625, allocations: 29.7 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.638e-05/0.3625, allocations: 92.14 kB / 1.212 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.3626, allocations: 23.73 kB / 1.212 GB, free: 4.957 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.452e-05/0.3626, allocations: 25.72 kB / 1.212 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.3627, allocations: 318.8 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.798e-05/0.3628, allocations: 31.98 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.488e-05/0.3629, allocations: 46.55 kB / 1.212 GB, free: 4.52 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.363, allocations: 74.5 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3631, allocations: 0 / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002248/0.3633, allocations: 117.4 kB / 1.213 GB, free: 4.316 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.3633, allocations: 9.875 kB / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.3633, allocations: 0 / 1.213 GB, free: 4.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.3633, allocations: 4.062 kB / 1.213 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.674e-05/0.3634, allocations: 15.92 kB / 1.213 GB, free: 4.289 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.3634, allocations: 4 kB / 1.213 GB, free: 4.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.892e-05/0.3635, allocations: 7.984 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3635, allocations: 4 kB / 1.213 GB, free: 4.273 MB / 0.9669 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.915e-05/0.3636, allocations: 121.8 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.3636, allocations: 3.906 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.64e-05/0.3637, allocations: 16.38 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.3637, allocations: 0 / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.3637, allocations: 3.984 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.3637, allocations: 0 / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000418/0.3641, allocations: 382.3 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3641, allocations: 0 / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.452e-05/0.3642, allocations: 4 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.3642, allocations: 0 / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3642, allocations: 4 kB / 1.213 GB, free: 3.68 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3642, allocations: 4 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.3642, allocations: 3.938 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002587/0.3645, allocations: 215.8 kB / 1.213 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.284e-05/0.3645, allocations: 85.02 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.3645, allocations: 3.938 kB / 1.214 GB, free: 3.34 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.475e-05/0.3646, allocations: 11.97 kB / 1.214 GB, free: 3.328 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.3647, allocations: 11.94 kB / 1.214 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.3647, allocations: 7.984 kB / 1.214 GB, free: 3.309 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.3647, allocations: 87.28 kB / 1.214 GB, free: 3.223 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3647, allocations: 4 kB / 1.214 GB, free: 3.219 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002792/0.365, allocations: 43.92 kB / 1.214 GB, free: 3.176 MB / 0.9669 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.0003133/0.3653, allocations: 158.4 kB / 1.214 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002208/0.3656, allocations: 75.88 kB / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3656, allocations: 0 / 1.214 GB, free: 2.953 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.806e-05/0.3657, allocations: 31.98 kB / 1.214 GB, free: 2.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.3659, allocations: 8 kB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00037/0.3663, allocations: 192.2 kB / 1.214 GB, free: 2.695 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.3665, allocations: 0.6925 MB / 1.215 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.132e-05/0.3666, allocations: 4 kB / 1.215 GB, free: 1.973 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.715e-05/0.3666, allocations: 11.44 kB / 1.215 GB, free: 1.961 MB / 0.9669 GB Notification: Performance of SimCode: time 2.5e-07/0.3666, allocations: 3.938 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of Templates: time 0.003854/0.3705, allocations: 1.48 MB / 1.216 GB, free: 492 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsSmall.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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