Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001515/0.001515, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001621/0.001621, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.632/2.632, allocations: 443.4 MB / 0.7304 GB, free: 13.87 MB / 0.5762 GB " [Timeout remaining time 177] 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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.pOpen|win.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 71.88 kB / 1.059 GB, free: 372 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3604, allocations: 160.7 MB / 1.216 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003041/0.3635, allocations: 1.606 MB / 1.218 GB, free: 13.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001491/0.3649, allocations: 0.8112 MB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.838e-05/0.365, allocations: 3.938 kB / 1.218 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.215e-05/0.365, allocations: 3.938 kB / 1.218 GB, free: 12.88 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.093e-05/0.3651, allocations: 23.78 kB / 1.218 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006049/0.3657, allocations: 147.5 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001854/0.3659, allocations: 135.6 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.366, allocations: 15.94 kB / 1.219 GB, free: 12.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/0.3661, allocations: 67.81 kB / 1.219 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.3662, allocations: 67.73 kB / 1.219 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.3662, allocations: 12 kB / 1.219 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002194/0.3665, allocations: 115.8 kB / 1.219 GB, free: 12.31 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.3665, allocations: 35.89 kB / 1.219 GB, free: 12.27 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.544e-05/0.3666, allocations: 47.78 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003001/0.3669, allocations: 191.3 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.3669, allocations: 0 / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.597e-06/0.3669, allocations: 4 kB / 1.219 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.3669, allocations: 0 / 1.219 GB, free: 12.04 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008648/0.3677, allocations: 490.1 kB / 1.22 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.3678, allocations: 8.031 kB / 1.22 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.613e-05/0.3678, allocations: 8.891 kB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.368, allocations: 192.7 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.368, allocations: 8.375 kB / 1.22 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.3681, allocations: 8.125 kB / 1.22 GB, free: 11.24 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.3683, allocations: 97.61 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.3683, allocations: 4 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.3683, allocations: 4 kB / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.3683, allocations: 0 / 1.22 GB, free: 11.13 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.3685, allocations: 59.95 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009119/0.3695, allocations: 376.5 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.3696, allocations: 62.55 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001331/0.3698, allocations: 48.83 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.3698, allocations: 3.938 kB / 1.221 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.3701, allocations: 111.2 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/0.3701, allocations: 0 / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0005899/0.3707, allocations: 209.5 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/0.3707, allocations: 59.41 kB / 1.221 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.3709, allocations: 144 kB / 1.221 GB, free: 9.977 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.182e-05/0.3709, allocations: 33.7 kB / 1.221 GB, free: 9.938 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.357e-05/0.371, allocations: 96.33 kB / 1.221 GB, free: 9.836 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.78e-05/0.371, allocations: 24.03 kB / 1.221 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.197e-05/0.3711, allocations: 33.7 kB / 1.221 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3712, allocations: 322.8 kB / 1.222 GB, free: 9.449 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3713, allocations: 39.97 kB / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3715, allocations: 72.27 kB / 1.222 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002422/0.3717, allocations: 120.2 kB / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3717, allocations: 0 / 1.222 GB, free: 9.191 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003353/0.372, allocations: 161.4 kB / 1.222 GB, free: 9.027 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3721, allocations: 8 kB / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3721, allocations: 0 / 1.222 GB, free: 9.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.3721, allocations: 4 kB / 1.222 GB, free: 9.016 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.3722, allocations: 19.92 kB / 1.222 GB, free: 8.996 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/0.3722, allocations: 3.938 kB / 1.222 GB, free: 8.992 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001087/0.3724, allocations: 23.88 kB / 1.222 GB, free: 8.969 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.656e-05/0.3724, allocations: 4 kB / 1.222 GB, free: 8.965 MB / 0.9669 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 0.0001093/0.3725, allocations: 121.9 kB / 1.222 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.3725, allocations: 11.94 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.935e-05/0.3725, allocations: 8.719 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.3725, allocations: 4 kB / 1.222 GB, free: 8.812 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.3725, allocations: 3.938 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3725, allocations: 4.312 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006693/0.3732, allocations: 458.5 kB / 1.223 GB, free: 8.301 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.3732, allocations: 7.938 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.146e-05/0.3733, allocations: 11.98 kB / 1.223 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.3733, allocations: 3.938 kB / 1.223 GB, free: 8.277 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.802e-05/0.3733, allocations: 4 kB / 1.223 GB, free: 8.273 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3733, allocations: 3.984 kB / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.3733, allocations: 0 / 1.223 GB, free: 8.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004257/0.3737, allocations: 275.3 kB / 1.223 GB, free: 7.984 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.661e-05/0.3738, allocations: 85 kB / 1.223 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.3738, allocations: 4 kB / 1.223 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/0.3739, allocations: 7.984 kB / 1.223 GB, free: 7.871 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.981e-05/0.374, allocations: 11.98 kB / 1.223 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.115e-05/0.374, allocations: 0 / 1.223 GB, free: 7.859 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.532e-05/0.3741, allocations: 109.9 kB / 1.223 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3741, allocations: 0 / 1.223 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003307/0.3744, allocations: 47.94 kB / 1.223 GB, free: 7.707 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: 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.000427/0.3749, allocations: 171.7 kB / 1.223 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.3752, allocations: 108 kB / 1.223 GB, free: 7.441 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.3752, allocations: 4 kB / 1.223 GB, free: 7.438 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001561/0.3754, allocations: 51.97 kB / 1.223 GB, free: 7.387 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002833/0.3756, allocations: 19.86 kB / 1.224 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005425/0.3762, allocations: 236.3 kB / 1.224 GB, free: 7.105 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003552/0.3765, allocations: 0.7002 MB / 1.224 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.203e-05/0.3766, allocations: 7.984 kB / 1.224 GB, free: 6.371 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.98e-05/0.3766, allocations: 15.44 kB / 1.224 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.3766, allocations: 0 / 1.224 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of Templates: time 0.005464/0.3821, allocations: 1.999 MB / 1.226 GB, free: 4.367 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.367093549109995]