Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.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.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007879/0.007879, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.495/1.495, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.995/2.995, allocations: 483.2 MB / 0.7564 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003611, allocations: 10.03 kB / 0.9276 GB, free: 29 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3487/0.3491, allocations: 164.5 MB / 1.088 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut): time 0.001944/0.3511, allocations: 1.232 MB / 1.089 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.3528, allocations: 0.7443 MB / 1.09 GB, free: 8.297 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.286e-05/0.3528, allocations: 3.938 kB / 1.09 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.624e-05/0.3529, allocations: 3.984 kB / 1.09 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.576e-05/0.3529, allocations: 7.875 kB / 1.09 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006339/0.3536, allocations: 127.7 kB / 1.09 GB, free: 8.156 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.3538, allocations: 87.83 kB / 1.09 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.3539, allocations: 15.97 kB / 1.09 GB, free: 8.055 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.354, allocations: 51.77 kB / 1.09 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.979e-05/0.3541, allocations: 39.89 kB / 1.09 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.3542, allocations: 4 kB / 1.09 GB, free: 7.961 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.3544, allocations: 91.84 kB / 1.091 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.3545, allocations: 23.95 kB / 1.091 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.039e-05/0.3545, allocations: 61.5 kB / 1.091 GB, free: 7.781 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0002836/0.3548, allocations: 167.8 kB / 1.091 GB, free: 7.617 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.3549, allocations: 4 kB / 1.091 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.934e-06/0.3549, allocations: 0 / 1.091 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.3549, allocations: 0 / 1.091 GB, free: 7.613 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000769/0.3556, allocations: 434.7 kB / 1.091 GB, free: 7.129 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3557, allocations: 12.03 kB / 1.091 GB, free: 7.117 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.914e-05/0.3558, allocations: 12.84 kB / 1.091 GB, free: 7.105 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.3559, allocations: 179.1 kB / 1.091 GB, free: 6.895 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.87e-05/0.356, allocations: 4.375 kB / 1.091 GB, free: 6.891 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.198e-05/0.356, allocations: 4.375 kB / 1.091 GB, free: 6.887 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.3563, allocations: 93.88 kB / 1.092 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3563, allocations: 3.984 kB / 1.092 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.3563, allocations: 4 kB / 1.092 GB, free: 6.781 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.3563, allocations: 8 kB / 1.092 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001923/0.3565, allocations: 47.97 kB / 1.092 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008178/0.3574, allocations: 360.4 kB / 1.092 GB, free: 6.324 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.3576, allocations: 62.55 kB / 1.092 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.3577, allocations: 44.84 kB / 1.092 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.166e-05/0.3577, allocations: 0 / 1.092 GB, free: 6.207 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002674/0.358, allocations: 99.34 kB / 1.092 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.663e-06/0.358, allocations: 0 / 1.092 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0006171/0.3586, allocations: 197.5 kB / 1.092 GB, free: 5.898 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.78e-05/0.3587, allocations: 51.56 kB / 1.092 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.3588, allocations: 125.8 kB / 1.092 GB, free: 5.703 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.3589, allocations: 33.7 kB / 1.093 GB, free: 5.664 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.917e-05/0.3589, allocations: 92.12 kB / 1.093 GB, free: 5.57 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.327e-05/0.359, allocations: 15.8 kB / 1.093 GB, free: 5.555 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.872e-05/0.359, allocations: 17.72 kB / 1.093 GB, free: 5.531 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3592, allocations: 326.8 kB / 1.093 GB, free: 5.203 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.671e-05/0.3593, allocations: 35.98 kB / 1.093 GB, free: 5.168 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3595, allocations: 68.27 kB / 1.093 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002213/0.3597, allocations: 100.2 kB / 1.093 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3597, allocations: 0 / 1.093 GB, free: 4.973 MB / 0.8419 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003132/0.36, allocations: 141.4 kB / 1.093 GB, free: 4.828 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.038e-05/0.36, allocations: 8 kB / 1.093 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.3601, allocations: 0 / 1.093 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.3601, allocations: 7.984 kB / 1.093 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3602, allocations: 11.94 kB / 1.093 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.158e-05/0.3602, allocations: 7.984 kB / 1.093 GB, free: 4.793 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.073e-05/0.3603, allocations: 7.938 kB / 1.093 GB, free: 4.785 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.891e-05/0.3603, allocations: 4 kB / 1.093 GB, free: 4.781 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,occ.y,win.pClose,$PRE.win.pClose,win.pOpen,$PRE.win.pOpen,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001212/0.3605, allocations: 131.6 kB / 1.093 GB, free: 4.645 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.3605, allocations: 7.906 kB / 1.093 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.3605, allocations: 12.36 kB / 1.093 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.3605, allocations: 0 / 1.093 GB, free: 4.621 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.3606, allocations: 4 kB / 1.093 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3606, allocations: 0 / 1.093 GB, free: 4.617 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007034/0.3613, allocations: 434.7 kB / 1.094 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.3613, allocations: 0 / 1.094 GB, free: 4.137 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.615e-05/0.3613, allocations: 12.05 kB / 1.094 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.3613, allocations: 0 / 1.094 GB, free: 4.125 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.3614, allocations: 7.938 kB / 1.094 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.063e-06/0.3614, allocations: 0 / 1.094 GB, free: 4.117 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.3614, allocations: 4.016 kB / 1.094 GB, free: 4.113 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004322/0.3618, allocations: 255.3 kB / 1.094 GB, free: 3.848 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.151e-05/0.3619, allocations: 81.02 kB / 1.094 GB, free: 3.75 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.3619, allocations: 7.984 kB / 1.094 GB, free: 3.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.362, allocations: 8 kB / 1.094 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.785e-05/0.3621, allocations: 15.92 kB / 1.094 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.062e-05/0.3621, allocations: 0 / 1.094 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.936e-05/0.3622, allocations: 98.64 kB / 1.094 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3622, allocations: 0 / 1.094 GB, free: 3.625 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003371/0.3625, allocations: 47.92 kB / 1.094 GB, free: 3.578 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000414/0.363, allocations: 162.4 kB / 1.095 GB, free: 3.422 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.3633, allocations: 91.89 kB / 1.095 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3633, allocations: 0 / 1.095 GB, free: 3.332 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.3634, allocations: 52.09 kB / 1.095 GB, free: 3.281 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.3638, allocations: 21.19 kB / 1.095 GB, free: 3.262 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005307/0.3643, allocations: 224.8 kB / 1.095 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.3646, allocations: 0.6965 MB / 1.096 GB, free: 2.289 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 4.817e-05/0.3647, allocations: 11.77 kB / 1.096 GB, free: 2.277 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.784e-05/0.3647, allocations: 11.44 kB / 1.096 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.3647, allocations: 0 / 1.096 GB, free: 2.266 MB / 0.8419 GB Notification: Performance of Templates: time 0.005009/0.3698, allocations: 1.637 MB / 1.097 GB, free: 0.6367 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Yun2008WindowsTOut.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Yun2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,win.TOut,win.occ,win.pOpen,win.on Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,occ.y,time,win.AClose,win.AOpen,win.BClose,win.BOpen,win.TOut,win.occ,win.on,win.pOpen,win.samplePeriod,win.seed,win.t0