Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000958/0.000958, allocations: 97.64 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007218/0.007218, allocations: 169.2 kB / 16.26 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3/3, allocations: 473.4 MB / 0.7469 GB, free: 6.074 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003396, allocations: 5.688 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4434/0.4438, allocations: 162.2 MB / 1.074 GB, free: 7.586 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf): time 0.001932/0.4458, allocations: 1.356 MB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.4472, allocations: 0.7714 MB / 1.076 GB, free: 5.445 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.381e-05/0.4472, allocations: 4 kB / 1.076 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.499e-05/0.4473, allocations: 7.922 kB / 1.076 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.358e-05/0.4474, allocations: 15.86 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.4479, allocations: 131.7 kB / 1.076 GB, free: 5.289 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.4481, allocations: 147.5 kB / 1.076 GB, free: 5.145 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.4482, allocations: 21.11 kB / 1.077 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001143/0.4484, allocations: 63.75 kB / 1.077 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001106/0.4485, allocations: 71.72 kB / 1.077 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.323e-05/0.4485, allocations: 4 kB / 1.077 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.4487, allocations: 95.91 kB / 1.077 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.4488, allocations: 23.91 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.319e-05/0.4488, allocations: 81.41 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.4491, allocations: 199.6 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4491, allocations: 4 kB / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.066e-06/0.4492, allocations: 0 / 1.077 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.835e-06/0.4492, allocations: 0 / 1.077 GB, free: 4.586 MB / 0.8262 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.0007758/0.45, allocations: 0.5252 MB / 1.078 GB, free: 3.988 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.45, allocations: 8.031 kB / 1.078 GB, free: 3.98 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.547e-05/0.4501, allocations: 20.75 kB / 1.078 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001298/0.4502, allocations: 180.2 kB / 1.078 GB, free: 3.746 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.2e-05/0.4502, allocations: 4.375 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.714e-05/0.4503, allocations: 8.375 kB / 1.078 GB, free: 3.734 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004856/0.4508, allocations: 165.7 kB / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.4508, allocations: 0 / 1.078 GB, free: 3.566 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.336e-05/0.4508, allocations: 7.938 kB / 1.078 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.4508, allocations: 7.984 kB / 1.078 GB, free: 3.551 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004412/0.4513, allocations: 119.9 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008075/0.4521, allocations: 392.5 kB / 1.078 GB, free: 3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003896/0.4525, allocations: 122.4 kB / 1.079 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003454/0.4528, allocations: 100.8 kB / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.672e-05/0.4529, allocations: 272 / 1.079 GB, free: 2.77 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004915/0.4534, allocations: 167.2 kB / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.4534, allocations: 0 / 1.079 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.001215/0.4546, allocations: 357.2 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.4547, allocations: 55.41 kB / 1.079 GB, free: 2.172 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.4548, allocations: 153.3 kB / 1.079 GB, free: 2.012 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.4548, allocations: 25.7 kB / 1.079 GB, free: 1.98 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.304e-05/0.4549, allocations: 96.38 kB / 1.079 GB, free: 1.883 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.848e-05/0.4549, allocations: 27.64 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.304e-05/0.455, allocations: 17.72 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001007/0.4551, allocations: 330.7 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000143/0.4552, allocations: 47.97 kB / 1.08 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001589/0.4554, allocations: 88.11 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002977/0.4557, allocations: 141 kB / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4557, allocations: 0 / 1.08 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003743/0.4561, allocations: 177.4 kB / 1.08 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.4561, allocations: 4 kB / 1.08 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.4561, allocations: 4 kB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.4562, allocations: 0 / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.4563, allocations: 31.92 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.4563, allocations: 0 / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.4565, allocations: 19.98 kB / 1.08 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.4565, allocations: 8.438 kB / 1.08 GB, free: 0.9492 MB / 0.8262 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 (win.curSeed,$PRE.win.curSeed,win.on,$PRE.win.on,win.occ,win.p,$PRE.win.p,win.sampleTrigger,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.4566, allocations: 117.8 kB / 1.08 GB, free: 0.8242 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.37e-05/0.4566, allocations: 15.89 kB / 1.08 GB, free: 0.8086 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.676e-05/0.4567, allocations: 12.72 kB / 1.08 GB, free: 0.793 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.4567, allocations: 7.938 kB / 1.08 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.4567, allocations: 3.938 kB / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.4567, allocations: 0 / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.4578, allocations: 0.5606 MB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4578, allocations: 0 / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.798e-05/0.4579, allocations: 19.98 kB / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.4579, allocations: 0 / 1.081 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.083e-05/0.4579, allocations: 7.984 kB / 1.081 GB, free: 140 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.07e-06/0.4579, allocations: 7.938 kB / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4579, allocations: 0 / 1.081 GB, free: 132 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008407/0.4588, allocations: 351.2 kB / 1.081 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.4589, allocations: 97.02 kB / 1.081 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.2e-05/0.4589, allocations: 4 kB / 1.081 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002368/0.4591, allocations: 35.91 kB / 1.082 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.802e-05/0.4592, allocations: 7.984 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.574e-05/0.4592, allocations: 4 kB / 1.082 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.208e-05/0.4593, allocations: 109.3 kB / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4593, allocations: 0 / 1.082 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003545/0.4597, allocations: 55.89 kB / 1.082 GB, free: 15.45 MB / 0.8419 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,win.occ,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 (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.0003878/0.4601, allocations: 154.9 kB / 1.082 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005703/0.4606, allocations: 167.8 kB / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4607, allocations: 0 / 1.082 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.461, allocations: 108.1 kB / 1.082 GB, free: 15.03 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.4613, allocations: 12 kB / 1.082 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007029/0.462, allocations: 312.9 kB / 1.082 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.4623, allocations: 0.7004 MB / 1.083 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.209e-05/0.4624, allocations: 4 kB / 1.083 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.961e-05/0.4624, allocations: 15.42 kB / 1.083 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of SimCode: time 1.483e-06/0.4624, allocations: 4 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of Templates: time 0.005029/0.4674, allocations: 1.86 MB / 1.085 GB, free: 12.09 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)