Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001048/0.001048, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.008302/0.008302, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.421/1.421, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.928/2.928, allocations: 473.4 MB / 0.7469 GB, free: 6.023 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004007/0.0004007, allocations: 8.469 kB / 0.9158 GB, free: 33.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3725, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.001838/0.3744, allocations: 1.317 MB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001391/0.3758, allocations: 0.7674 MB / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.332e-05/0.3759, allocations: 0 / 1.076 GB, free: 5.422 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.3759, allocations: 3.938 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.192e-05/0.376, allocations: 23.84 kB / 1.076 GB, free: 5.395 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005864/0.3766, allocations: 119.7 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.3768, allocations: 127.6 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.3769, allocations: 19.97 kB / 1.076 GB, free: 5.133 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.377, allocations: 59.77 kB / 1.076 GB, free: 5.074 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.3771, allocations: 63.8 kB / 1.077 GB, free: 5.012 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.466e-05/0.3772, allocations: 4 kB / 1.077 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000218/0.3774, allocations: 91.91 kB / 1.077 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.687e-05/0.3774, allocations: 27.89 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.3775, allocations: 77.42 kB / 1.077 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.00028/0.3778, allocations: 187.6 kB / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3778, allocations: 0 / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.955e-06/0.3778, allocations: 0 / 1.077 GB, free: 4.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.3779, allocations: 0 / 1.077 GB, free: 4.625 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.0007718/0.3786, allocations: 470.6 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.3787, allocations: 8.031 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.415e-05/0.3787, allocations: 8.844 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.3789, allocations: 189.2 kB / 1.078 GB, free: 3.867 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.851e-05/0.379, allocations: 8.375 kB / 1.078 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.379, allocations: 12.06 kB / 1.078 GB, free: 3.848 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.3793, allocations: 105.6 kB / 1.078 GB, free: 3.738 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.347e-05/0.3793, allocations: 11.92 kB / 1.078 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.952e-05/0.3793, allocations: 7.984 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.3793, allocations: 0 / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002158/0.3796, allocations: 75.95 kB / 1.078 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009313/0.3805, allocations: 376.6 kB / 1.078 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000176/0.3807, allocations: 70.55 kB / 1.078 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.3808, allocations: 60.77 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.3809, allocations: 4 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002426/0.3811, allocations: 107.3 kB / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.693e-06/0.3811, allocations: 0 / 1.078 GB, free: 2.965 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005787/0.3817, allocations: 229.4 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.3818, allocations: 55.41 kB / 1.079 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3819, allocations: 145.7 kB / 1.079 GB, free: 2.52 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.27e-05/0.3819, allocations: 33.7 kB / 1.079 GB, free: 2.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.125e-05/0.382, allocations: 96.28 kB / 1.079 GB, free: 2.379 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.382, allocations: 23.73 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.382, allocations: 25.72 kB / 1.079 GB, free: 2.324 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3822, allocations: 322.8 kB / 1.079 GB, free: 2 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.3823, allocations: 39.97 kB / 1.079 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001487/0.3824, allocations: 88.2 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.3827, allocations: 124.2 kB / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3827, allocations: 0 / 1.08 GB, free: 1.723 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003769/0.3831, allocations: 157.4 kB / 1.08 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.3831, allocations: 16.14 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3831, allocations: 3.938 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.3832, allocations: 7.984 kB / 1.08 GB, free: 1.535 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001462/0.3833, allocations: 16.36 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3833, allocations: 7.938 kB / 1.08 GB, free: 1.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000104/0.3834, allocations: 12 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.626e-05/0.3835, allocations: 7.984 kB / 1.08 GB, free: 1.492 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.000123/0.3836, allocations: 136.5 kB / 1.08 GB, free: 1.352 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.978e-05/0.3836, allocations: 7.906 kB / 1.08 GB, free: 1.344 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.3837, allocations: 8.719 kB / 1.08 GB, free: 1.332 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.3837, allocations: 4 kB / 1.08 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.3837, allocations: 3.938 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.6e-06/0.3837, allocations: 3.984 kB / 1.08 GB, free: 1.32 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006607/0.3844, allocations: 478.4 kB / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3844, allocations: 0 / 1.08 GB, free: 0.7969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.557e-05/0.3845, allocations: 8 kB / 1.08 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.3845, allocations: 3.938 kB / 1.08 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.3845, allocations: 3.984 kB / 1.08 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.583e-06/0.3845, allocations: 7.984 kB / 1.08 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.3845, allocations: 8.062 kB / 1.08 GB, free: 0.7656 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.3849, allocations: 271.3 kB / 1.081 GB, free: 496 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.499e-05/0.385, allocations: 88.94 kB / 1.081 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.385, allocations: 8 kB / 1.081 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.3851, allocations: 8 kB / 1.081 GB, free: 372 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.3852, allocations: 7.984 kB / 1.081 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.3852, allocations: 7.984 kB / 1.081 GB, free: 356 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.598e-05/0.3853, allocations: 103.3 kB / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3853, allocations: 0 / 1.081 GB, free: 252 kB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003264/0.3856, allocations: 47.98 kB / 1.081 GB, free: 204 kB / 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.0003799/0.386, allocations: 176.2 kB / 1.081 GB, free: 36 kB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003536/0.3864, allocations: 120 kB / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3864, allocations: 0 / 1.081 GB, free: 15.91 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001563/0.3866, allocations: 63.91 kB / 1.081 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.3869, allocations: 11.94 kB / 1.081 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000503/0.3874, allocations: 265.4 kB / 1.081 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002582/0.3876, allocations: 0.6933 MB / 1.082 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.441e-05/0.3877, allocations: 11.98 kB / 1.082 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.674e-05/0.3877, allocations: 11.44 kB / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of SimCode: time 2.51e-07/0.3878, allocations: 0 / 1.082 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of Templates: time 0.00533/0.3931, allocations: 1.834 MB / 1.084 GB, free: 12.98 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.pipe 2>&1)