Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.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.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") translateModel(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001185/0.001185, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001356/0.001356, allocations: 197.9 kB / 16.14 MB, free: 6.688 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.4/1.4, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 64.08 kB / 0.9114 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3726, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn): time 0.003014/0.3757, allocations: 1.566 MB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.3769, allocations: 0.7401 MB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.468e-05/0.377, allocations: 4 kB / 1.07 GB, free: 8.613 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.85e-05/0.377, allocations: 3.938 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.446e-05/0.3771, allocations: 3.938 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.3776, allocations: 107.8 kB / 1.07 GB, free: 8.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.934e-05/0.3777, allocations: 63.84 kB / 1.07 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.3778, allocations: 15.98 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001054/0.3779, allocations: 39.83 kB / 1.07 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.127e-05/0.378, allocations: 31.91 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.902e-05/0.378, allocations: 4 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001838/0.3782, allocations: 95.84 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.3782, allocations: 15.91 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.613e-05/0.3783, allocations: 27.86 kB / 1.07 GB, free: 8.211 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002354/0.3785, allocations: 143.9 kB / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.3785, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3785, allocations: 0 / 1.07 GB, free: 8.07 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3785, allocations: 0 / 1.07 GB, free: 8.07 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006947/0.3792, allocations: 421 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.3793, allocations: 8.031 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.34e-05/0.3793, allocations: 8.844 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001258/0.3795, allocations: 184.1 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.3795, allocations: 4.375 kB / 1.071 GB, free: 7.367 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.3795, allocations: 4.375 kB / 1.071 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.3797, allocations: 73.95 kB / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.3797, allocations: 0 / 1.071 GB, free: 7.285 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3797, allocations: 7.922 kB / 1.071 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.3797, allocations: 4 kB / 1.071 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.3799, allocations: 47.91 kB / 1.071 GB, free: 7.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.3805, allocations: 304.8 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001286/0.3806, allocations: 50.56 kB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.195e-05/0.3807, allocations: 32.97 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.3808, allocations: 3.984 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002068/0.381, allocations: 75.33 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.381, allocations: 0 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000413/0.3814, allocations: 145.6 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.3815, allocations: 55.41 kB / 1.072 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.445e-05/0.3816, allocations: 121.8 kB / 1.072 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3816, allocations: 33.69 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.3817, allocations: 88.14 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.824e-05/0.3817, allocations: 11.75 kB / 1.072 GB, free: 6.211 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.3817, allocations: 29.7 kB / 1.072 GB, free: 6.176 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3818, allocations: 326.8 kB / 1.072 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/0.3819, allocations: 31.98 kB / 1.072 GB, free: 5.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.737e-05/0.3821, allocations: 55.34 kB / 1.072 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.3822, allocations: 71.42 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.3822, allocations: 7.938 kB / 1.072 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000254/0.3825, allocations: 121.4 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3825, allocations: 4 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.236e-06/0.3825, allocations: 8.062 kB / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.3825, allocations: 0 / 1.073 GB, free: 5.523 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.204e-05/0.3826, allocations: 8 kB / 1.073 GB, free: 5.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3826, allocations: 7.984 kB / 1.073 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.789e-05/0.3827, allocations: 4 kB / 1.073 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3827, allocations: 4.062 kB / 1.073 GB, free: 5.5 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (win.curSeed,$PRE.win.curSeed,occ.y,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.687e-05/0.3828, allocations: 129.7 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.3829, allocations: 3.906 kB / 1.073 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.484e-05/0.3829, allocations: 12.36 kB / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3829, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.3829, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3829, allocations: 0 / 1.073 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004506/0.3834, allocations: 390.3 kB / 1.073 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.3834, allocations: 4 kB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.666e-05/0.3834, allocations: 0 / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.3834, allocations: 4 kB / 1.073 GB, free: 4.902 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3835, allocations: 3.984 kB / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3835, allocations: 0 / 1.073 GB, free: 4.898 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3835, allocations: 3.938 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002702/0.3838, allocations: 215.4 kB / 1.073 GB, free: 4.668 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.96e-05/0.3838, allocations: 81.02 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3838, allocations: 3.984 kB / 1.073 GB, free: 4.566 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.817e-05/0.3839, allocations: 4 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.28e-05/0.384, allocations: 11.92 kB / 1.073 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.384, allocations: 4 kB / 1.073 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.963e-05/0.3841, allocations: 99.2 kB / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3841, allocations: 0 / 1.073 GB, free: 4.449 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003651/0.3844, allocations: 36 kB / 1.074 GB, free: 4.414 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003362/0.3848, allocations: 167.2 kB / 1.074 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.385, allocations: 79.88 kB / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.385, allocations: 0 / 1.074 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.3851, allocations: 36.11 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002523/0.3854, allocations: 13.88 kB / 1.074 GB, free: 4.133 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.3858, allocations: 190.1 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002398/0.386, allocations: 0.6887 MB / 1.075 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.3861, allocations: 7.938 kB / 1.075 GB, free: 3.191 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.3861, allocations: 15.42 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.3861, allocations: 0 / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of Templates: time 0.003833/0.39, allocations: 1.369 MB / 1.076 GB, free: 1.812 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTIn.pipe 2>&1)