Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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) 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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001447/0.001447, allocations: 195.2 kB / 16.14 MB, free: 6.715 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.411/1.411, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.6 MB / 0.7447 GB, free: 5.008 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001314/0.001314, allocations: 67.75 kB / 0.9114 GB, free: 33.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3594, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.003415/0.3628, allocations: 1.648 MB / 1.069 GB, free: 9.281 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.3645, allocations: 0.7868 MB / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.3646, allocations: 0 / 1.07 GB, free: 8.488 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.181e-05/0.3646, allocations: 3.938 kB / 1.07 GB, free: 8.484 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.152e-05/0.3647, allocations: 19.84 kB / 1.07 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005529/0.3653, allocations: 127.7 kB / 1.07 GB, free: 8.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.3654, allocations: 127.6 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.3655, allocations: 19.97 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001047/0.3657, allocations: 51.83 kB / 1.07 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.898e-05/0.3658, allocations: 67.78 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.3658, allocations: 8 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001967/0.366, allocations: 99.84 kB / 1.07 GB, free: 7.973 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.573e-05/0.366, allocations: 27.89 kB / 1.07 GB, free: 7.945 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.561e-05/0.3661, allocations: 51.7 kB / 1.07 GB, free: 7.895 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002586/0.3664, allocations: 183.8 kB / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3664, allocations: 0 / 1.071 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.174e-06/0.3664, allocations: 3.938 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.65e-06/0.3664, allocations: 3.938 kB / 1.071 GB, free: 7.707 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.000796/0.3672, allocations: 482.5 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.3673, allocations: 16.02 kB / 1.071 GB, free: 7.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.446e-05/0.3673, allocations: 8.844 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000142/0.3675, allocations: 189.4 kB / 1.071 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.675e-05/0.3675, allocations: 8.359 kB / 1.071 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.734e-05/0.3675, allocations: 12.12 kB / 1.071 GB, free: 6.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.3678, allocations: 101.5 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3678, allocations: 0 / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3679, allocations: 4 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-06/0.3679, allocations: 4 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002036/0.3681, allocations: 63.89 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009233/0.369, allocations: 372.6 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001867/0.3692, allocations: 66.55 kB / 1.072 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.3693, allocations: 48.84 kB / 1.072 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.657e-05/0.3694, allocations: 3.984 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003136/0.3697, allocations: 103.3 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.462e-06/0.3697, allocations: 0 / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.00062/0.3703, allocations: 213.4 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.3704, allocations: 55.41 kB / 1.072 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.3705, allocations: 143.6 kB / 1.072 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.3706, allocations: 33.7 kB / 1.072 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.391e-05/0.3706, allocations: 100.4 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.3707, allocations: 23.73 kB / 1.073 GB, free: 5.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.317e-05/0.3708, allocations: 33.7 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3709, allocations: 326.8 kB / 1.073 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001215/0.371, allocations: 35.97 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001542/0.3712, allocations: 80.58 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002328/0.3714, allocations: 112.2 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.3714, allocations: 0 / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003669/0.3718, allocations: 153.5 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.3718, allocations: 12.05 kB / 1.073 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.3719, allocations: 3.938 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.3719, allocations: 4 kB / 1.073 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000165/0.3721, allocations: 23.91 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.3721, allocations: 3.938 kB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.3722, allocations: 15.91 kB / 1.073 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3722, allocations: 4 kB / 1.073 GB, free: 4.637 MB / 0.8262 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.0001282/0.3723, allocations: 135.1 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.429e-05/0.3724, allocations: 7.906 kB / 1.074 GB, free: 4.488 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.854e-05/0.3724, allocations: 8.719 kB / 1.074 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3724, allocations: 4 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3724, allocations: 3.938 kB / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.3724, allocations: 0 / 1.074 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006533/0.3731, allocations: 462.2 kB / 1.074 GB, free: 3.961 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.3731, allocations: 4 kB / 1.074 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.401e-05/0.3732, allocations: 7.984 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3732, allocations: 3.938 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.002e-05/0.3732, allocations: 7.984 kB / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.3732, allocations: 0 / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3732, allocations: 0 / 1.074 GB, free: 3.938 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004354/0.3737, allocations: 267.4 kB / 1.074 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.681e-05/0.3737, allocations: 88.94 kB / 1.074 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.025e-05/0.3738, allocations: 7.984 kB / 1.074 GB, free: 3.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3739, allocations: 4 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.374, allocations: 11.98 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.374, allocations: 0 / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.568e-05/0.3741, allocations: 110.1 kB / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3741, allocations: 0 / 1.074 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003362/0.3744, allocations: 52.17 kB / 1.075 GB, free: 3.375 MB / 0.8262 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.00038/0.3748, allocations: 169.2 kB / 1.075 GB, free: 3.215 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.3752, allocations: 108.1 kB / 1.075 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.3752, allocations: 4 kB / 1.075 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.3753, allocations: 59.91 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002911/0.3756, allocations: 14.05 kB / 1.075 GB, free: 3.035 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005537/0.3762, allocations: 254.2 kB / 1.075 GB, free: 2.758 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002872/0.3765, allocations: 0.6933 MB / 1.076 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.073e-05/0.3766, allocations: 11.98 kB / 1.076 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.653e-05/0.3766, allocations: 11.44 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3766, allocations: 0 / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of Templates: time 0.004874/0.3815, allocations: 1.841 MB / 1.078 GB, free: 188 kB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)