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.001483/0.001483, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 190.8 kB / 16.53 MB, free: 6.391 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.749/2.749, allocations: 472.6 MB / 0.7451 GB, free: 4.648 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.08 kB / 0.912 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.3618, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.004574/0.3664, allocations: 1.583 MB / 1.07 GB, free: 8.836 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002364/0.3688, allocations: 0.7906 MB / 1.07 GB, free: 8.039 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.3689, allocations: 4 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.927e-05/0.3691, allocations: 7.875 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/0.3692, allocations: 19.78 kB / 1.071 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008711/0.3701, allocations: 151.6 kB / 1.071 GB, free: 7.859 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.3703, allocations: 139.6 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.3704, allocations: 15.98 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.3706, allocations: 59.83 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.3708, allocations: 75.72 kB / 1.071 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.3709, allocations: 16 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.3712, allocations: 95.91 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.068e-05/0.3712, allocations: 31.89 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001028/0.3714, allocations: 55.72 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003868/0.3718, allocations: 203.7 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3718, allocations: 3.938 kB / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.472e-06/0.3718, allocations: 0 / 1.071 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3718, allocations: 0 / 1.071 GB, free: 7.176 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.00103/0.3728, allocations: 478.4 kB / 1.072 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.3729, allocations: 12.03 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.646e-05/0.373, allocations: 8.844 kB / 1.072 GB, free: 6.629 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.3732, allocations: 188.6 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.679e-05/0.3732, allocations: 4.375 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.236e-05/0.3733, allocations: 12.12 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003955/0.3737, allocations: 101.5 kB / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.3737, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.321e-05/0.3738, allocations: 0 / 1.072 GB, free: 6.285 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.292e-05/0.3738, allocations: 8 kB / 1.072 GB, free: 6.277 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.3741, allocations: 63.89 kB / 1.072 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/0.3755, allocations: 376.6 kB / 1.073 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003003/0.3758, allocations: 66.55 kB / 1.073 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.376, allocations: 52.83 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.003e-05/0.376, allocations: 0 / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000441/0.3765, allocations: 111.3 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 2.305e-06/0.3765, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0009492/0.3774, allocations: 213.4 kB / 1.073 GB, free: 5.332 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.508e-05/0.3775, allocations: 55.41 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.3777, allocations: 140.2 kB / 1.073 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.341e-05/0.3778, allocations: 33.7 kB / 1.073 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.297e-05/0.3779, allocations: 100.3 kB / 1.073 GB, free: 4.977 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.01e-05/0.3779, allocations: 23.73 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.366e-05/0.378, allocations: 33.7 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000291/0.3784, allocations: 327.2 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001814/0.3785, allocations: 31.98 kB / 1.074 GB, free: 4.555 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.3788, allocations: 76.2 kB / 1.074 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/0.3792, allocations: 116.2 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3792, allocations: 3.938 kB / 1.074 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005137/0.3797, allocations: 157.5 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.478e-05/0.3798, allocations: 8.109 kB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3798, allocations: 3.938 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.3798, allocations: 4 kB / 1.074 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.38, allocations: 19.92 kB / 1.074 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3801, allocations: 3.938 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.3802, allocations: 19.89 kB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.491e-05/0.3803, allocations: 4 kB / 1.074 GB, free: 4.109 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.0001575/0.3805, allocations: 130.4 kB / 1.074 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.215e-05/0.3805, allocations: 7.906 kB / 1.074 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.568e-05/0.3806, allocations: 12.7 kB / 1.074 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.3806, allocations: 4 kB / 1.074 GB, free: 3.945 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.3806, allocations: 3.938 kB / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.3806, allocations: 0 / 1.074 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001081/0.3817, allocations: 470.4 kB / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.3817, allocations: 0 / 1.075 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.736e-05/0.3818, allocations: 11.98 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.3819, allocations: 3.938 kB / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.291e-05/0.3819, allocations: 0 / 1.075 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.3819, allocations: 4 kB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3819, allocations: 0 / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007399/0.3827, allocations: 267.3 kB / 1.075 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.658e-05/0.3828, allocations: 88.95 kB / 1.075 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.3828, allocations: 4 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002217/0.383, allocations: 7.984 kB / 1.075 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-05/0.3831, allocations: 4 kB / 1.075 GB, free: 3.008 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.3832, allocations: 7.984 kB / 1.075 GB, free: 3 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001212/0.3833, allocations: 106.6 kB / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.9e-07/0.3833, allocations: 0 / 1.075 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0005904/0.3839, allocations: 55.92 kB / 1.075 GB, free: 2.844 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.0005247/0.3845, allocations: 169.9 kB / 1.075 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005929/0.3851, allocations: 112 kB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.3851, allocations: 4.062 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002457/0.3854, allocations: 59.91 kB / 1.076 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004823/0.3859, allocations: 23.56 kB / 1.076 GB, free: 2.492 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007737/0.3867, allocations: 228.4 kB / 1.076 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/0.3871, allocations: 0.7008 MB / 1.076 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 9.881e-05/0.3872, allocations: 8 kB / 1.076 GB, free: 1.508 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.132e-05/0.3873, allocations: 15.42 kB / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of SimCode: time 6.61e-07/0.3873, allocations: 192 / 1.076 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of Templates: time 0.007927/0.3952, allocations: 1.953 MB / 1.078 GB, free: 15.55 MB / 0.8419 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)