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/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.243/2.243, allocations: 391.2 MB / 407 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 190.9 kB / 499.1 MB, free: 4.68 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 110.8 kB / 0.9329 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001122/0.001122, allocations: 51.94 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.3006, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002606/0.3033, allocations: 1.628 MB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.00117/0.3045, allocations: 0.7877 MB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.499e-05/0.3045, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.3046, allocations: 7.875 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 6.876e-05/0.3047, allocations: 15.86 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005002/0.3052, allocations: 131.7 kB / 1.221 GB, free: 114.6 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.3053, allocations: 123.7 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 9.735e-05/0.3054, allocations: 19.92 kB / 1.221 GB, free: 114.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.3055, allocations: 51.89 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 8.888e-05/0.3056, allocations: 75.66 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 2.489e-05/0.3056, allocations: 8 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.3058, allocations: 95.91 kB / 1.221 GB, free: 114.3 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.3058, allocations: 23.91 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 6.168e-05/0.3059, allocations: 51.7 kB / 1.221 GB, free: 114.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.3061, allocations: 185.6 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.3061, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.122e-06/0.3061, allocations: 3.938 kB / 1.221 GB, free: 114 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.3062, allocations: 0 / 1.221 GB, free: 114 MB / 0.823 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.000694/0.3069, allocations: 487.9 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.3069, allocations: 15.98 kB / 1.222 GB, free: 113.5 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.017e-05/0.307, allocations: 8.844 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.047e-05/0.3071, allocations: 188.7 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3071, allocations: 4.375 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3071, allocations: 12.12 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002201/0.3073, allocations: 89.62 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3074, allocations: 0 / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3074, allocations: 4 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3074, allocations: 8 kB / 1.222 GB, free: 113.1 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.3076, allocations: 59.89 kB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007922/0.3084, allocations: 380.5 kB / 1.222 GB, free: 112.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.3086, allocations: 70.53 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3087, allocations: 52.98 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.3087, allocations: 7.922 kB / 1.223 GB, free: 112.5 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002741/0.309, allocations: 103.3 kB / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.309, allocations: 0 / 1.223 GB, free: 112.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=9): time 0.0005332/0.3096, allocations: 213.4 kB / 1.223 GB, free: 112.2 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.323e-05/0.3096, allocations: 59.41 kB / 1.223 GB, free: 112.1 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.3097, allocations: 147.9 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.565e-05/0.3097, allocations: 33.7 kB / 1.223 GB, free: 111.9 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/0.3098, allocations: 96.28 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.3098, allocations: 23.8 kB / 1.223 GB, free: 111.8 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.3099, allocations: 29.7 kB / 1.223 GB, free: 111.7 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.732e-05/0.3099, allocations: 322.8 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001053/0.31, allocations: 35.98 kB / 1.224 GB, free: 111.4 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001158/0.3102, allocations: 80.19 kB / 1.224 GB, free: 111.3 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.3104, allocations: 108.2 kB / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.634e-06/0.3104, allocations: 0 / 1.224 GB, free: 111.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002797/0.3107, allocations: 161.4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.3107, allocations: 8 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.3107, allocations: 0 / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.3107, allocations: 4 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001385/0.3109, allocations: 19.92 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.3109, allocations: 3.938 kB / 1.224 GB, free: 111 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.529e-05/0.311, allocations: 15.92 kB / 1.224 GB, free: 110.9 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.311, allocations: 8 kB / 1.224 GB, free: 110.9 MB / 0.823 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 8.522e-05/0.3111, allocations: 127.3 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.09e-05/0.3111, allocations: 7.906 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.053e-05/0.3112, allocations: 12.7 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.3112, allocations: 4 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3112, allocations: 3.938 kB / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3112, allocations: 0 / 1.224 GB, free: 110.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/0.3117, allocations: 462.4 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.3117, allocations: 8.469 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.764e-05/0.3118, allocations: 8.094 kB / 1.225 GB, free: 110.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3118, allocations: 7.875 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.524e-05/0.3118, allocations: 8 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3118, allocations: 0 / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3118, allocations: 3.938 kB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000585/0.3124, allocations: 0.8799 MB / 1.225 GB, free: 109.3 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.72e-05/0.3125, allocations: 92.95 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.3125, allocations: 0 / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.3126, allocations: 7.984 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.3127, allocations: 4 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.3127, allocations: 7.984 kB / 1.226 GB, free: 109.2 MB / 0.823 GB Notification: Performance of sorting global known variables: time 4.84e-05/0.3128, allocations: 114.4 kB / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.61e-07/0.3128, allocations: 0 / 1.226 GB, free: 109.1 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004033/0.3132, allocations: 47.98 kB / 1.226 GB, free: 109 MB / 0.823 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.0003423/0.3135, allocations: 156.9 kB / 1.226 GB, free: 108.9 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0003048/0.3138, allocations: 119.8 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.3138, allocations: 0 / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.314, allocations: 55.97 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002902/0.3143, allocations: 13.81 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.3148, allocations: 381.3 kB / 1.226 GB, free: 108.3 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.315, allocations: 0.6965 MB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 5.282e-05/0.315, allocations: 11.98 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.227e-05/0.3151, allocations: 11.44 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of SimCode: time 2.2e-07/0.3151, allocations: 4 kB / 1.227 GB, free: 107.5 MB / 0.823 GB Notification: Performance of Templates: time 0.004073/0.3191, allocations: 1.891 MB / 1.229 GB, free: 105.6 MB / 0.823 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 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)