Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.682/1.682, allocations: 293 MB / 309 MB, free: 4.77 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001031/0.001031, allocations: 172.6 kB / 378.7 MB, free: 1.027 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.48/1.48, allocations: 205.4 MB / 0.6383 GB, free: 8.211 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007802/0.0007803, allocations: 98.03 kB / 0.7527 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003955/0.0003956, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2397, allocations: 116.4 MB / 0.9904 GB, free: 5.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6464/0.8861, allocations: 141.5 MB / 1.129 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.8864, allocations: 79.8 kB / 1.129 GB, free: 32.83 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01094/0.8974, allocations: 3.842 MB / 1.132 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.404e-06/0.8974, allocations: 0 / 1.132 GB, free: 30.06 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.8974, allocations: 0 / 1.132 GB, free: 30.06 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005906/0.898, allocations: 0.5427 MB / 1.133 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8981, allocations: 8.031 kB / 1.133 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.8981, allocations: 13.5 kB / 1.133 GB, free: 29.45 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.8983, allocations: 187.7 kB / 1.133 GB, free: 29.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.192e-05/0.8983, allocations: 4.375 kB / 1.133 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.398e-05/0.8983, allocations: 4.375 kB / 1.133 GB, free: 29.22 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.8987, allocations: 156 kB / 1.133 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.8988, allocations: 192 / 1.133 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.8988, allocations: 8.594 kB / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.8988, allocations: 0 / 1.133 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003481/0.8991, allocations: 127.8 kB / 1.133 GB, free: 28.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007783/0.8999, allocations: 420.6 kB / 1.134 GB, free: 28.6 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003158/0.9003, allocations: 112.9 kB / 1.134 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002662/0.9005, allocations: 105.9 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.788e-05/0.9006, allocations: 4 kB / 1.134 GB, free: 28.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000353/0.9009, allocations: 158.1 kB / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 1.502e-06/0.901, allocations: 0.75 kB / 1.134 GB, free: 28.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0009813/0.9019, allocations: 348.8 kB / 1.135 GB, free: 27.99 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.642e-05/0.902, allocations: 56.67 kB / 1.135 GB, free: 27.92 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.9021, allocations: 151.6 kB / 1.135 GB, free: 27.77 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.413e-05/0.9021, allocations: 29.7 kB / 1.135 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.1e-05/0.9022, allocations: 99.22 kB / 1.135 GB, free: 27.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.9022, allocations: 25.83 kB / 1.135 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.9022, allocations: 4 kB / 1.135 GB, free: 27.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.477e-05/0.9023, allocations: 327 kB / 1.135 GB, free: 27.29 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001191/0.9024, allocations: 43.97 kB / 1.135 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001353/0.9026, allocations: 87.42 kB / 1.135 GB, free: 27.16 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002544/0.9028, allocations: 144.4 kB / 1.136 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.9028, allocations: 0 / 1.136 GB, free: 27.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003254/0.9032, allocations: 171.1 kB / 1.136 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.9032, allocations: 4 kB / 1.136 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.9032, allocations: 0.7031 kB / 1.136 GB, free: 26.86 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.9032, allocations: 8.125 kB / 1.136 GB, free: 26.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/0.9034, allocations: 21.72 kB / 1.136 GB, free: 26.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.9034, allocations: 8.797 kB / 1.136 GB, free: 26.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.87e-05/0.9035, allocations: 17.34 kB / 1.136 GB, free: 26.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.735e-05/0.9035, allocations: 8.75 kB / 1.136 GB, free: 26.81 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.824e-05/0.9036, allocations: 134.5 kB / 1.136 GB, free: 26.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.9036, allocations: 9.219 kB / 1.136 GB, free: 26.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.509e-05/0.9037, allocations: 14.17 kB / 1.136 GB, free: 26.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.9037, allocations: 0 / 1.136 GB, free: 26.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.9037, allocations: 0 / 1.136 GB, free: 26.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.9037, allocations: 3.141 kB / 1.136 GB, free: 26.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009228/0.9046, allocations: 0.5563 MB / 1.136 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.9047, allocations: 1.156 kB / 1.136 GB, free: 26.12 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.885e-05/0.9047, allocations: 20.36 kB / 1.136 GB, free: 26.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.9048, allocations: 3.938 kB / 1.136 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.9048, allocations: 6.438 kB / 1.136 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9048, allocations: 1.531 kB / 1.136 GB, free: 26.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.9048, allocations: 8.734 kB / 1.136 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006687/0.9055, allocations: 357.2 kB / 1.137 GB, free: 25.77 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.586e-05/0.9055, allocations: 90.66 kB / 1.137 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.9055, allocations: 1.25 kB / 1.137 GB, free: 25.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.9057, allocations: 28.25 kB / 1.137 GB, free: 25.64 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.812e-05/0.9058, allocations: 15.31 kB / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.9058, allocations: 7.344 kB / 1.137 GB, free: 25.63 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.533e-05/0.9059, allocations: 111.8 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9059, allocations: 0.9375 kB / 1.137 GB, free: 25.53 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003593/0.9063, allocations: 54.25 kB / 1.137 GB, free: 25.48 MB / 0.7292 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,occ.y,win.on,win.p,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): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000365/0.9066, allocations: 176.6 kB / 1.137 GB, free: 25.32 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004743/0.9071, allocations: 169.3 kB / 1.137 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.9071, allocations: 0 / 1.137 GB, free: 25.18 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.9074, allocations: 107.9 kB / 1.138 GB, free: 25.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.9077, allocations: 11.23 kB / 1.138 GB, free: 25.09 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006359/0.9084, allocations: 297.5 kB / 1.138 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000131/0.9085, allocations: 0.7032 MB / 1.139 GB, free: 24.1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.872e-05/0.9086, allocations: 8.219 kB / 1.139 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.9086, allocations: 16.7 kB / 1.139 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/0.9086, allocations: 0 / 1.139 GB, free: 24.08 MB / 0.7292 GB Notification: Performance of Templates: time 0.004695/0.9133, allocations: 1.974 MB / 1.14 GB, free: 22.99 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)