Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001304/0.001304, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001453/0.001453, allocations: 187.4 kB / 22.22 MB, free: 5.105 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.453/1.453, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.819/2.819, allocations: 476.7 MB / 0.7646 GB, free: 9.867 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 67.89 kB / 1.11 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9828/0.9848, allocations: 168.8 MB / 1.274 GB, free: 4.258 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003062/0.9878, allocations: 1.601 MB / 1.276 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001638/0.9895, allocations: 0.7923 MB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.362e-05/0.9895, allocations: 0 / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.9896, allocations: 11.86 kB / 1.277 GB, free: 1.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.927e-05/0.9896, allocations: 19.8 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006607/0.9903, allocations: 155.6 kB / 1.277 GB, free: 1.668 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.9905, allocations: 135.6 kB / 1.277 GB, free: 1.535 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.9906, allocations: 27.77 kB / 1.277 GB, free: 1.512 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.9907, allocations: 55.83 kB / 1.277 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.9908, allocations: 75.73 kB / 1.277 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.889e-05/0.9909, allocations: 12 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002789/0.9911, allocations: 135.8 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.325e-05/0.9912, allocations: 31.89 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.856e-05/0.9913, allocations: 55.72 kB / 1.277 GB, free: 1.152 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003163/0.9916, allocations: 197.9 kB / 1.278 GB, free: 0.9648 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.9916, allocations: 4 kB / 1.278 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.883e-06/0.9916, allocations: 0 / 1.278 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.9916, allocations: 0 / 1.278 GB, free: 0.9609 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.0008132/0.9924, allocations: 409.1 kB / 1.278 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.9924, allocations: 8.031 kB / 1.278 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.033e-05/0.9925, allocations: 8.891 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.9926, allocations: 137.1 kB / 1.278 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.9927, allocations: 16.38 kB / 1.278 GB, free: 340 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.757e-05/0.9927, allocations: 8.125 kB / 1.278 GB, free: 332 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002654/0.993, allocations: 101.5 kB / 1.278 GB, free: 224 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/0.993, allocations: 4 kB / 1.278 GB, free: 220 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.993, allocations: 7.969 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.993, allocations: 0 / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002125/0.9932, allocations: 63.89 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008836/0.9941, allocations: 339.7 kB / 1.279 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001857/0.9943, allocations: 66.48 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001297/0.9944, allocations: 52.81 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.693e-05/0.9944, allocations: 4 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003133/0.9948, allocations: 103.3 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.9948, allocations: 0 / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0005981/0.9954, allocations: 213.5 kB / 1.279 GB, free: 15.31 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.9954, allocations: 55.41 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.9956, allocations: 144 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.982e-05/0.9956, allocations: 37.69 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.557e-05/0.9957, allocations: 96.33 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.267e-05/0.9957, allocations: 27.92 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/0.9958, allocations: 33.7 kB / 1.279 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.9959, allocations: 326.8 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/0.996, allocations: 35.92 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001429/0.9962, allocations: 81.12 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.9964, allocations: 108.2 kB / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9964, allocations: 0 / 1.28 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000337/0.9967, allocations: 157.6 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9968, allocations: 11.94 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.9968, allocations: 0 / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.9968, allocations: 4 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.997, allocations: 15.98 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.242e-05/0.997, allocations: 8.031 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/0.9971, allocations: 19.94 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.9971, allocations: 4 kB / 1.28 GB, free: 14.08 MB / 0.9825 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.0001312/0.9972, allocations: 127.9 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.284e-05/0.9973, allocations: 8.328 kB / 1.28 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.353e-05/0.9973, allocations: 16.7 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.9973, allocations: 4 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.9973, allocations: 3.938 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.9973, allocations: 7.938 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006458/0.998, allocations: 425.5 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.998, allocations: 4.062 kB / 1.281 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.256e-05/0.998, allocations: 7.984 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.578e-06/0.998, allocations: 3.938 kB / 1.281 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.491e-05/0.998, allocations: 4 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.998, allocations: 0 / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.998, allocations: 4 kB / 1.281 GB, free: 13.42 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.9985, allocations: 271.3 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.672e-05/0.9985, allocations: 11.89 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.401e-05/0.9985, allocations: 0 / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.9986, allocations: 7.984 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.22e-05/0.9987, allocations: 11.98 kB / 1.281 GB, free: 13.11 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.032e-05/0.9987, allocations: 4 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.561e-05/0.9988, allocations: 107.2 kB / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9988, allocations: 0 / 1.281 GB, free: 13 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003384/0.9991, allocations: 47.88 kB / 1.281 GB, free: 12.95 MB / 0.9825 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.0004059/0.9996, allocations: 175 kB / 1.281 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.9999, allocations: 107.9 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.9999, allocations: 0 / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/1, allocations: 51.91 kB / 1.281 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/1, allocations: 20.36 kB / 1.281 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005394/1.001, allocations: 229.1 kB / 1.282 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003611/1.001, allocations: 0.7002 MB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.532e-05/1.001, allocations: 4 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.92e-05/1.001, allocations: 19.42 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/1.001, allocations: 4 kB / 1.282 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of Templates: time 0.006066/1.007, allocations: 2.019 MB / 1.284 GB, free: 9.594 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Haldi2009WindowsTInTout.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.172856328077614]