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.001363/0.001363, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001388/0.001388, allocations: 198.4 kB / 22.17 MB, free: 5.211 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.473/1.473, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.887/2.887, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001982/0.001982, allocations: 63.89 kB / 1.109 GB, free: 6.562 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8902/0.8921, allocations: 168.7 MB / 1.274 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002988/0.8951, allocations: 1.611 MB / 1.276 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001503/0.8966, allocations: 0.8001 MB / 1.276 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.186e-05/0.8967, allocations: 3.938 kB / 1.276 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.847e-05/0.8967, allocations: 7.922 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.661e-05/0.8968, allocations: 19.8 kB / 1.276 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005918/0.8974, allocations: 143.5 kB / 1.277 GB, free: 1.938 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.8976, allocations: 139.6 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.8977, allocations: 27.75 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.8978, allocations: 55.84 kB / 1.277 GB, free: 1.723 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000127/0.8979, allocations: 67.78 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.706e-05/0.8979, allocations: 12 kB / 1.277 GB, free: 1.645 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002269/0.8982, allocations: 115.8 kB / 1.277 GB, free: 1.531 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.127e-05/0.8982, allocations: 31.89 kB / 1.277 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.65e-05/0.8983, allocations: 55.72 kB / 1.277 GB, free: 1.445 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.8986, allocations: 186.2 kB / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.8986, allocations: 0 / 1.277 GB, free: 1.27 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.512e-06/0.8986, allocations: 4 kB / 1.277 GB, free: 1.266 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.8986, allocations: 4 kB / 1.277 GB, free: 1.262 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.0008716/0.8995, allocations: 490.2 kB / 1.278 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.8995, allocations: 11.97 kB / 1.278 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.8995, allocations: 8.891 kB / 1.278 GB, free: 0.7031 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.8997, allocations: 184.7 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/0.8997, allocations: 8.375 kB / 1.278 GB, free: 488 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.207e-05/0.8998, allocations: 12.11 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002557/0.9, allocations: 101.6 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.9, allocations: 0 / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.9001, allocations: 4 kB / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.9001, allocations: 0 / 1.278 GB, free: 364 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002103/0.9003, allocations: 63.89 kB / 1.278 GB, free: 300 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009012/0.9012, allocations: 376.6 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001949/0.9014, allocations: 62.53 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001338/0.9015, allocations: 52.83 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.067e-05/0.9015, allocations: 0 / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002699/0.9018, allocations: 111.3 kB / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.353e-06/0.9018, allocations: 0 / 1.279 GB, free: 15.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0006054/0.9024, allocations: 205.5 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.666e-05/0.9025, allocations: 63.39 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.9026, allocations: 144 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.735e-05/0.9026, allocations: 37.7 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.9027, allocations: 100.3 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.9027, allocations: 19.8 kB / 1.279 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.491e-05/0.9028, allocations: 33.7 kB / 1.279 GB, free: 14.99 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.9029, allocations: 326.8 kB / 1.28 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000125/0.9031, allocations: 39.97 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.9032, allocations: 76.27 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002524/0.9035, allocations: 112.2 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.9035, allocations: 3.938 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003514/0.9038, allocations: 153.5 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.9038, allocations: 8 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.9038, allocations: 3.984 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.9039, allocations: 4 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.904, allocations: 19.92 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.904, allocations: 3.938 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001166/0.9041, allocations: 16.05 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.193e-05/0.9042, allocations: 11.98 kB / 1.28 GB, free: 14.18 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.0001187/0.9043, allocations: 121.2 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.737e-05/0.9043, allocations: 7.953 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.812e-05/0.9044, allocations: 13.03 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.9044, allocations: 4 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.9044, allocations: 3.938 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.9044, allocations: 3.984 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006882/0.9051, allocations: 470.5 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.9051, allocations: 0 / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.458e-05/0.9051, allocations: 12 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/0.9051, allocations: 3.938 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.668e-05/0.9051, allocations: 7.984 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.9051, allocations: 0 / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.9052, allocations: 64 / 1.281 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004661/0.9056, allocations: 275.3 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.92e-05/0.9057, allocations: 88.98 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.821e-05/0.9057, allocations: 4 kB / 1.281 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.9058, allocations: 4 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.8e-05/0.9059, allocations: 7.984 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.9059, allocations: 7.984 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.954e-05/0.906, allocations: 107.3 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.906, allocations: 0 / 1.281 GB, free: 12.96 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003305/0.9063, allocations: 51.86 kB / 1.281 GB, free: 12.91 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.0003953/0.9067, allocations: 161.6 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003519/0.9071, allocations: 115.8 kB / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.9071, allocations: 0 / 1.281 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001449/0.9072, allocations: 47.97 kB / 1.281 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/0.9075, allocations: 24.38 kB / 1.281 GB, free: 12.58 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005242/0.908, allocations: 228.3 kB / 1.282 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.9084, allocations: 0.7043 MB / 1.282 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.5e-05/0.9084, allocations: 4 kB / 1.282 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.9084, allocations: 11.44 kB / 1.282 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.9084, allocations: 0 / 1.282 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of Templates: time 0.005678/0.9141, allocations: 2.012 MB / 1.284 GB, free: 9.578 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.801922129932791]