Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut,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.Haldi2008WindowsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001608/0.001608, allocations: 106.6 kB / 16.41 MB, free: 6.453 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.001836/0.001836, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.463/2.463, allocations: 437 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.89 kB / 1.019 GB, free: 9.438 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.847/0.8484, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut): time 0.002726/0.8511, allocations: 1.504 MB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.8525, allocations: 0.7323 MB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.43e-05/0.8525, allocations: 0 / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 3.074e-05/0.8526, allocations: 7.938 kB / 1.169 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.491e-05/0.8527, allocations: 11.86 kB / 1.169 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006027/0.8533, allocations: 115.6 kB / 1.17 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.8534, allocations: 83.69 kB / 1.17 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.8535, allocations: 16 kB / 1.17 GB, free: 1.391 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.351e-05/0.8536, allocations: 31.91 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.917e-05/0.8537, allocations: 43.83 kB / 1.17 GB, free: 1.316 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.8537, allocations: 8 kB / 1.17 GB, free: 1.309 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002004/0.8539, allocations: 91.84 kB / 1.17 GB, free: 1.219 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.619e-05/0.8539, allocations: 15.98 kB / 1.17 GB, free: 1.203 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.833e-05/0.854, allocations: 35.8 kB / 1.17 GB, free: 1.168 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.8543, allocations: 139.3 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.8543, allocations: 4 kB / 1.17 GB, free: 1.031 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8543, allocations: 4 kB / 1.17 GB, free: 1.027 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.8543, allocations: 3.938 kB / 1.17 GB, free: 1.023 MB / 0.8887 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.0006521/0.8549, allocations: 411 kB / 1.17 GB, free: 0.5703 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.855, allocations: 12.03 kB / 1.17 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.352e-05/0.855, allocations: 12.78 kB / 1.17 GB, free: 0.5469 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001179/0.8552, allocations: 176.3 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.427e-05/0.8552, allocations: 4.375 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.891e-05/0.8552, allocations: 4.375 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.8554, allocations: 73.97 kB / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.8554, allocations: 0 / 1.171 GB, free: 256 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.8554, allocations: 4 kB / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.8555, allocations: 0 / 1.171 GB, free: 252 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.8556, allocations: 35.97 kB / 1.171 GB, free: 216 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.8562, allocations: 324.7 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001295/0.8564, allocations: 46.55 kB / 1.171 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.093e-05/0.8565, allocations: 32.97 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.195e-05/0.8565, allocations: 3.984 kB / 1.171 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001906/0.8567, allocations: 79.39 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.593e-06/0.8567, allocations: 4 kB / 1.171 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003841/0.8571, allocations: 137.5 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.8571, allocations: 59.34 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.8573, allocations: 121.8 kB / 1.172 GB, free: 15.32 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.173e-05/0.8573, allocations: 29.7 kB / 1.172 GB, free: 15.28 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.871e-05/0.8574, allocations: 92.12 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.256e-05/0.8574, allocations: 11.81 kB / 1.172 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.022e-05/0.8575, allocations: 29.7 kB / 1.172 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.8576, allocations: 326.8 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.251e-05/0.8577, allocations: 27.98 kB / 1.172 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.235e-05/0.8578, allocations: 42.56 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.8579, allocations: 82.47 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.8579, allocations: 0 / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002416/0.8582, allocations: 113.5 kB / 1.172 GB, free: 14.53 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/0.8582, allocations: 4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.8582, allocations: 0 / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.8582, allocations: 4 kB / 1.172 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.8583, allocations: 15.92 kB / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.366e-06/0.8584, allocations: 0 / 1.172 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.8585, allocations: 12 kB / 1.172 GB, free: 14.49 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.8585, allocations: 4 kB / 1.172 GB, free: 14.49 MB / 0.9044 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.0001038/0.8586, allocations: 127.4 kB / 1.172 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.8586, allocations: 7.906 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.8586, allocations: 4.375 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8586, allocations: 4 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.8587, allocations: 3.938 kB / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.8587, allocations: 0 / 1.172 GB, free: 14.34 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.8591, allocations: 390.7 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.8591, allocations: 0 / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.8592, allocations: 7.984 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.8592, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.8592, allocations: 4 kB / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.8592, allocations: 0 / 1.173 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.8592, allocations: 3.938 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.8595, allocations: 223.4 kB / 1.173 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.839e-05/0.8596, allocations: 85.02 kB / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.8596, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.595e-05/0.8597, allocations: 0 / 1.173 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.8597, allocations: 11.92 kB / 1.173 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.447e-06/0.8598, allocations: 4 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.318e-05/0.8598, allocations: 99.86 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8598, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003056/0.8601, allocations: 43.92 kB / 1.173 GB, free: 13.39 MB / 0.9044 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.0003442/0.8605, allocations: 154.5 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.8607, allocations: 71.91 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.8607, allocations: 4.125 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.388e-05/0.8608, allocations: 35.97 kB / 1.174 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.8611, allocations: 11.98 kB / 1.174 GB, free: 13.12 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004683/0.8616, allocations: 206 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.8619, allocations: 0.6923 MB / 1.174 GB, free: 12.16 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.321e-05/0.8619, allocations: 15.44 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of SimCode: time 2.01e-07/0.8619, allocations: 0 / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of Templates: time 0.003547/0.8655, allocations: 1.618 MB / 1.176 GB, free: 10.53 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2008WindowsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches