Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,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.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007975/0.0007976, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.005362/0.005362, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.446/1.446, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.789/2.789, allocations: 462.7 MB / 0.7364 GB, free: 252 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003438/0.0003438, allocations: 8.812 kB / 0.9028 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3468, allocations: 159.6 MB / 1.059 GB, free: 5.473 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001902/0.3487, allocations: 1.314 MB / 1.06 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001393/0.3502, allocations: 0.7713 MB / 1.061 GB, free: 3.371 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.474e-05/0.3502, allocations: 7.938 kB / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.881e-05/0.3502, allocations: 0 / 1.061 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.085e-05/0.3503, allocations: 19.78 kB / 1.061 GB, free: 3.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.3509, allocations: 119.7 kB / 1.061 GB, free: 3.227 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000161/0.351, allocations: 127.6 kB / 1.061 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.842e-05/0.3511, allocations: 23.97 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.3512, allocations: 47.84 kB / 1.061 GB, free: 3.031 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000119/0.3514, allocations: 67.78 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.123e-05/0.3514, allocations: 4 kB / 1.061 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.3516, allocations: 91.84 kB / 1.061 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.3516, allocations: 23.91 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.028e-05/0.3517, allocations: 81.41 kB / 1.061 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002786/0.352, allocations: 191.7 kB / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.352, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.483e-06/0.352, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.3521, allocations: 0 / 1.061 GB, free: 2.574 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008467/0.3529, allocations: 462.6 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.353, allocations: 12.03 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.353, allocations: 12.84 kB / 1.062 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.3532, allocations: 196.5 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.68e-05/0.3532, allocations: 4.375 kB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.187e-05/0.3533, allocations: 16.12 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3536, allocations: 97.56 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.3536, allocations: 0 / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.102e-05/0.3536, allocations: 7.984 kB / 1.062 GB, free: 1.68 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.3536, allocations: 8 kB / 1.062 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002013/0.3538, allocations: 63.95 kB / 1.062 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008649/0.3547, allocations: 380.6 kB / 1.063 GB, free: 1.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.3549, allocations: 70.55 kB / 1.063 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001413/0.355, allocations: 60.83 kB / 1.063 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.3551, allocations: 4.141 kB / 1.063 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002717/0.3553, allocations: 107.3 kB / 1.063 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3553, allocations: 4 kB / 1.063 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0005805/0.3559, allocations: 229.3 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.356, allocations: 55.41 kB / 1.063 GB, free: 0.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.3561, allocations: 152.2 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.841e-05/0.3562, allocations: 33.7 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.3562, allocations: 92.38 kB / 1.063 GB, free: 340 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.3563, allocations: 23.64 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.3563, allocations: 21.72 kB / 1.063 GB, free: 288 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3565, allocations: 319.2 kB / 1.064 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001341/0.3566, allocations: 51.97 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001372/0.3568, allocations: 76.27 kB / 1.064 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.357, allocations: 124.2 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.357, allocations: 3.938 kB / 1.064 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000326/0.3574, allocations: 165.4 kB / 1.064 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.3574, allocations: 8.109 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.3574, allocations: 3.938 kB / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.3574, allocations: 0 / 1.064 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.3575, allocations: 23.97 kB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.305e-05/0.3576, allocations: 11.97 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001072/0.3577, allocations: 15.91 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.3577, allocations: 11.98 kB / 1.064 GB, free: 15.44 MB / 0.8262 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,win.occ,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 (14): * Single equations (assignments): 14 * 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 9.808e-05/0.3578, allocations: 116.2 kB / 1.064 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.3578, allocations: 11.91 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.3579, allocations: 8.719 kB / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3579, allocations: 0 / 1.064 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.3579, allocations: 11.98 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.364e-06/0.3579, allocations: 7.969 kB / 1.064 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006445/0.3586, allocations: 470.2 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.3586, allocations: 3.984 kB / 1.065 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.985e-05/0.3586, allocations: 15.94 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.958e-06/0.3586, allocations: 3.938 kB / 1.065 GB, free: 14.74 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3587, allocations: 7.984 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.3587, allocations: 4.062 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3587, allocations: 0 / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003881/0.3591, allocations: 279.3 kB / 1.065 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.3591, allocations: 88.94 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.3591, allocations: 4 kB / 1.065 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001173/0.3593, allocations: 4 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.129e-05/0.3593, allocations: 7.984 kB / 1.065 GB, free: 14.32 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3594, allocations: 11.98 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.874e-05/0.3594, allocations: 108.8 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3594, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000315/0.3598, allocations: 51.92 kB / 1.065 GB, free: 14.15 MB / 0.8262 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,win.occ,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 (9): * Single equations (assignments): 5 * 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.0003575/0.3601, allocations: 155.4 kB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003342/0.3605, allocations: 127.8 kB / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3605, allocations: 0 / 1.066 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.3606, allocations: 59.97 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.3609, allocations: 14.19 kB / 1.066 GB, free: 13.81 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004712/0.3614, allocations: 265.3 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.3617, allocations: 0.6965 MB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.882e-05/0.3617, allocations: 7.984 kB / 1.067 GB, free: 12.79 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.3618, allocations: 11.44 kB / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3618, allocations: 192 / 1.067 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of Templates: time 0.004798/0.3666, allocations: 1.824 MB / 1.069 GB, free: 10.96 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches