Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.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 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") translateModel(Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.697/1.697, allocations: 297.8 MB / 313.7 MB, free: 160 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001565/0.001565, allocations: 180.4 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.364/1.364, allocations: 223.2 MB / 0.6626 GB, free: 4.293 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008099/0.0008099, allocations: 103.3 kB / 0.7808 GB, free: 50.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004047/0.0004048, allocations: 12 kB / 0.9088 GB, free: 2.93 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7297/0.7301, allocations: 120.3 MB / 1.026 GB, free: 55.8 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2009/0.931, allocations: 143.6 MB / 1.167 GB, free: 456 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000286/0.9314, allocations: 86.58 kB / 1.167 GB, free: 384 kB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01344/0.9448, allocations: 3.881 MB / 1.17 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9449, allocations: 1.281 kB / 1.17 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.9449, allocations: 4 kB / 1.17 GB, free: 13.61 MB / 0.7448 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.0008967/0.9458, allocations: 0.5359 MB / 1.171 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.9459, allocations: 12.78 kB / 1.171 GB, free: 13.01 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.043e-05/0.9459, allocations: 12.8 kB / 1.171 GB, free: 13 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.9461, allocations: 185.7 kB / 1.171 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.33e-05/0.9462, allocations: 4.375 kB / 1.171 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.9462, allocations: 8.984 kB / 1.171 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004789/0.9467, allocations: 151.3 kB / 1.171 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.9467, allocations: 0.9844 kB / 1.171 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/0.9467, allocations: 11.88 kB / 1.171 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.9467, allocations: 2.5 kB / 1.171 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000431/0.9472, allocations: 130.2 kB / 1.171 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/0.9483, allocations: 414.9 kB / 1.172 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/0.9487, allocations: 114.4 kB / 1.172 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.949, allocations: 109 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.934e-05/0.949, allocations: 0.75 kB / 1.172 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004178/0.9495, allocations: 154.4 kB / 1.172 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=9): time 2.421e-05/0.9495, allocations: 0 / 1.172 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of matching and sorting (n=9): time 0.001099/0.9506, allocations: 355.1 kB / 1.173 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/0.9506, allocations: 56.11 kB / 1.173 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00014/0.9508, allocations: 146.8 kB / 1.173 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.209e-05/0.9508, allocations: 29.7 kB / 1.173 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.9509, allocations: 103.7 kB / 1.173 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.9509, allocations: 25.83 kB / 1.173 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.9509, allocations: 0 / 1.173 GB, free: 11.19 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.9511, allocations: 335.2 kB / 1.173 GB, free: 10.86 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.9512, allocations: 44.16 kB / 1.173 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001523/0.9514, allocations: 92.02 kB / 1.173 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002756/0.9517, allocations: 132 kB / 1.173 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.9517, allocations: 4 kB / 1.173 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003773/0.9521, allocations: 166.9 kB / 1.174 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.9521, allocations: 8.562 kB / 1.174 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.9521, allocations: 0 / 1.174 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.9521, allocations: 4 kB / 1.174 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.9523, allocations: 34.16 kB / 1.174 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.9523, allocations: 0 / 1.174 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.9524, allocations: 20.36 kB / 1.174 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.9524, allocations: 6.781 kB / 1.174 GB, free: 10.38 MB / 0.7448 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 0.0001046/0.9525, allocations: 134.7 kB / 1.174 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.9526, allocations: 12.66 kB / 1.174 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.412e-05/0.9526, allocations: 9.938 kB / 1.174 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.9526, allocations: 4.562 kB / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.9526, allocations: 0 / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.9526, allocations: 0.6562 kB / 1.174 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001013/0.9536, allocations: 0.5571 MB / 1.174 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.9537, allocations: 0.9375 kB / 1.174 GB, free: 9.684 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.819e-05/0.9538, allocations: 16.36 kB / 1.174 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.9538, allocations: 0 / 1.174 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.9538, allocations: 2.812 kB / 1.174 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.9538, allocations: 1.375 kB / 1.174 GB, free: 9.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/0.9538, allocations: 7.938 kB / 1.174 GB, free: 9.664 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007746/0.9546, allocations: 354.9 kB / 1.175 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.879e-05/0.9547, allocations: 91.22 kB / 1.175 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.9547, allocations: 9.172 kB / 1.175 GB, free: 9.234 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002109/0.9549, allocations: 27.78 kB / 1.175 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.955, allocations: 12.3 kB / 1.175 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.955, allocations: 5.969 kB / 1.175 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.143e-05/0.9551, allocations: 115.5 kB / 1.175 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.91e-07/0.9551, allocations: 0 / 1.175 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004165/0.9555, allocations: 62.05 kB / 1.175 GB, free: 9.043 MB / 0.7448 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.000491/0.956, allocations: 171 kB / 1.175 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0005493/0.9566, allocations: 177 kB / 1.175 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.9566, allocations: 0 / 1.175 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.957, allocations: 100.5 kB / 1.176 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.9573, allocations: 9.406 kB / 1.176 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007615/0.958, allocations: 300.8 kB / 1.176 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.9583, allocations: 0.6992 MB / 1.176 GB, free: 7.668 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.709e-05/0.9584, allocations: 12.17 kB / 1.177 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.669e-05/0.9585, allocations: 12.61 kB / 1.177 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of SimCode: time 7.01e-07/0.9585, allocations: 0 / 1.177 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of Templates: time 0.005622/0.9641, allocations: 1.989 MB / 1.178 GB, free: 5.828 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.sim & ./Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.pipe 2>&1)