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.0011/0.0011, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001173/0.001173, allocations: 197.4 kB / 16.26 MB, free: 6.617 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.37/1.37, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.813/2.813, allocations: 472.6 MB / 0.7448 GB, free: 4.879 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.8 kB / 0.9115 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3694/0.3706, allocations: 159.9 MB / 1.068 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout): time 0.002875/0.3736, allocations: 1.648 MB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001304/0.3749, allocations: 0.7829 MB / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.449e-05/0.375, allocations: 0 / 1.07 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.375, allocations: 3.938 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.176e-05/0.3751, allocations: 15.84 kB / 1.07 GB, free: 8.336 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005562/0.3756, allocations: 131.7 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3758, allocations: 135.6 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.3759, allocations: 23.97 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001003/0.376, allocations: 51.84 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.553e-05/0.3761, allocations: 71.78 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/0.3762, allocations: 15.94 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001848/0.3764, allocations: 103.8 kB / 1.071 GB, free: 7.812 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.853e-05/0.3764, allocations: 35.94 kB / 1.071 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.364e-05/0.3765, allocations: 55.72 kB / 1.071 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002532/0.3767, allocations: 187.8 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.758e-06/0.3767, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.183e-06/0.3767, allocations: 0 / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.3768, allocations: 4 kB / 1.071 GB, free: 7.535 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.0007453/0.3775, allocations: 482.4 kB / 1.071 GB, free: 7.004 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.3776, allocations: 8.031 kB / 1.071 GB, free: 6.996 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.267e-05/0.3776, allocations: 12.83 kB / 1.071 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.3777, allocations: 192.6 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.659e-05/0.3778, allocations: 8.375 kB / 1.072 GB, free: 6.75 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.393e-05/0.3778, allocations: 8.125 kB / 1.072 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.3781, allocations: 101.5 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.3781, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.514e-05/0.3781, allocations: 4 kB / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-06/0.3781, allocations: 0 / 1.072 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001922/0.3783, allocations: 59.95 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.3792, allocations: 376.5 kB / 1.072 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.3793, allocations: 70.53 kB / 1.072 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000123/0.3795, allocations: 52.84 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.173e-05/0.3795, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002784/0.3798, allocations: 107.2 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.3798, allocations: 0 / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005595/0.3804, allocations: 221.4 kB / 1.072 GB, free: 5.684 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.063e-05/0.3804, allocations: 51.41 kB / 1.073 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.3805, allocations: 145.8 kB / 1.073 GB, free: 5.469 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.3806, allocations: 29.7 kB / 1.073 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.3806, allocations: 104.3 kB / 1.073 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.3807, allocations: 15.75 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.245e-05/0.3807, allocations: 33.7 kB / 1.073 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.3809, allocations: 322.8 kB / 1.073 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.381, allocations: 43.97 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001338/0.3811, allocations: 72.27 kB / 1.073 GB, free: 4.816 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002339/0.3814, allocations: 116.2 kB / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.3814, allocations: 112 / 1.073 GB, free: 4.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003208/0.3817, allocations: 157.3 kB / 1.074 GB, free: 4.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3817, allocations: 4 kB / 1.074 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.3817, allocations: 4 kB / 1.074 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3818, allocations: 4.094 kB / 1.074 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001452/0.3819, allocations: 19.92 kB / 1.074 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.3819, allocations: 11.92 kB / 1.074 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.382, allocations: 11.91 kB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.629e-05/0.3821, allocations: 4 kB / 1.074 GB, free: 4.469 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.0001072/0.3822, allocations: 125.8 kB / 1.074 GB, free: 4.336 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.134e-05/0.3822, allocations: 7.906 kB / 1.074 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.162e-05/0.3822, allocations: 16.72 kB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3822, allocations: 0 / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.3822, allocations: 8 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.3823, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005985/0.3829, allocations: 470.7 kB / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.3829, allocations: 96 / 1.074 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.3829, allocations: 11.92 kB / 1.074 GB, free: 3.773 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.3829, allocations: 7.938 kB / 1.074 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.383, allocations: 7.984 kB / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.383, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.383, allocations: 0 / 1.074 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003831/0.3834, allocations: 263.3 kB / 1.074 GB, free: 3.484 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.464e-05/0.3834, allocations: 88.95 kB / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.502e-05/0.3835, allocations: 0 / 1.075 GB, free: 3.379 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.3836, allocations: 15.98 kB / 1.075 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.044e-05/0.3837, allocations: 7.984 kB / 1.075 GB, free: 3.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.334e-05/0.3837, allocations: 4 kB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.308e-05/0.3837, allocations: 108.6 kB / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3837, allocations: 0 / 1.075 GB, free: 3.246 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003221/0.3841, allocations: 40 kB / 1.075 GB, free: 3.207 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.00037/0.3845, allocations: 171.4 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003568/0.3848, allocations: 123.8 kB / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3848, allocations: 0 / 1.075 GB, free: 2.926 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001451/0.385, allocations: 55.91 kB / 1.075 GB, free: 2.871 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002932/0.3853, allocations: 18 kB / 1.075 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005126/0.3858, allocations: 256.4 kB / 1.075 GB, free: 2.578 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003009/0.3861, allocations: 0.7008 MB / 1.076 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.712e-05/0.3862, allocations: 7.984 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.845e-05/0.3862, allocations: 11.44 kB / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3862, allocations: 0 / 1.076 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of Templates: time 0.004758/0.391, allocations: 1.908 MB / 1.078 GB, free: 15.93 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)