Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009064/0.0009065, allocations: 91.45 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.006655/0.006655, allocations: 173.7 kB / 16.27 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.459/1.459, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.991/2.991, allocations: 473.4 MB / 0.7469 GB, free: 6.145 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003804/0.0003805, allocations: 8.375 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3702/0.3706, allocations: 162.2 MB / 1.074 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001749/0.3724, allocations: 1.223 MB / 1.075 GB, free: 6.383 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001316/0.3738, allocations: 0.7168 MB / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.621e-05/0.3738, allocations: 0 / 1.076 GB, free: 5.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.3738, allocations: 7.922 kB / 1.076 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.315e-05/0.3739, allocations: 11.86 kB / 1.076 GB, free: 5.641 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005039/0.3744, allocations: 107.8 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.751e-05/0.3745, allocations: 59.84 kB / 1.076 GB, free: 5.477 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.817e-05/0.3746, allocations: 23.97 kB / 1.076 GB, free: 5.453 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.273e-05/0.3747, allocations: 27.91 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.3748, allocations: 35.84 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.688e-05/0.3748, allocations: 7.938 kB / 1.076 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001814/0.375, allocations: 91.84 kB / 1.076 GB, free: 5.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.415e-05/0.3751, allocations: 15.92 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.004e-05/0.3751, allocations: 57.53 kB / 1.076 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002193/0.3753, allocations: 135.9 kB / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3754, allocations: 0 / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3754, allocations: 0 / 1.077 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.818e-06/0.3754, allocations: 8 kB / 1.077 GB, free: 5.074 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.0006021/0.376, allocations: 402.9 kB / 1.077 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.376, allocations: 8.031 kB / 1.077 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.3761, allocations: 8.844 kB / 1.077 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.3762, allocations: 176.2 kB / 1.077 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.019e-05/0.3762, allocations: 4.375 kB / 1.077 GB, free: 4.398 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.3763, allocations: 4.375 kB / 1.077 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.3765, allocations: 77.97 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.3765, allocations: 3.984 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3765, allocations: 0 / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.3765, allocations: 0 / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3767, allocations: 47.97 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006452/0.3773, allocations: 324.6 kB / 1.078 GB, free: 3.895 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3774, allocations: 58.48 kB / 1.078 GB, free: 3.828 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.14e-05/0.3775, allocations: 40.97 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.298e-05/0.3776, allocations: 0 / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001969/0.3778, allocations: 75.38 kB / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.3778, allocations: 0 / 1.078 GB, free: 3.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004105/0.3782, allocations: 153.5 kB / 1.078 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.3783, allocations: 55.47 kB / 1.078 GB, free: 3.477 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.1e-05/0.3784, allocations: 125.8 kB / 1.078 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.3784, allocations: 25.7 kB / 1.078 GB, free: 3.312 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.3785, allocations: 92.14 kB / 1.078 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.106e-05/0.3785, allocations: 15.75 kB / 1.078 GB, free: 3.203 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.231e-05/0.3785, allocations: 21.7 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.3786, allocations: 326.8 kB / 1.079 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.783e-05/0.3787, allocations: 31.98 kB / 1.079 GB, free: 2.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.89e-05/0.3788, allocations: 46.56 kB / 1.079 GB, free: 2.762 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.379, allocations: 82.48 kB / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.379, allocations: 0 / 1.079 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002438/0.3793, allocations: 117.6 kB / 1.079 GB, free: 2.551 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3793, allocations: 13.09 kB / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3793, allocations: 0 / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3793, allocations: 0 / 1.079 GB, free: 2.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.3794, allocations: 15.98 kB / 1.079 GB, free: 2.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.3794, allocations: 7.875 kB / 1.079 GB, free: 2.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.678e-05/0.3795, allocations: 7.906 kB / 1.079 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.3795, allocations: 4 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,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.371e-05/0.3796, allocations: 125.8 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.91e-05/0.3796, allocations: 11.92 kB / 1.079 GB, free: 2.359 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.535e-05/0.3797, allocations: 4.375 kB / 1.079 GB, free: 2.355 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3797, allocations: 4 kB / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.3797, allocations: 0 / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3797, allocations: 0 / 1.079 GB, free: 2.352 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004531/0.3801, allocations: 398.6 kB / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3802, allocations: 0 / 1.079 GB, free: 1.906 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.3802, allocations: 8 kB / 1.079 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3802, allocations: 3.984 kB / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.3802, allocations: 0 / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.3802, allocations: 0 / 1.079 GB, free: 1.895 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.3802, allocations: 3.938 kB / 1.079 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002799/0.3805, allocations: 219.6 kB / 1.08 GB, free: 1.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.942e-05/0.3806, allocations: 92.94 kB / 1.08 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.3806, allocations: 4 kB / 1.08 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.903e-05/0.3807, allocations: 4 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.318e-05/0.3807, allocations: 11.92 kB / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.336e-06/0.3808, allocations: 0 / 1.08 GB, free: 1.531 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.3808, allocations: 99.27 kB / 1.08 GB, free: 1.434 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3808, allocations: 4 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003029/0.3811, allocations: 36 kB / 1.08 GB, free: 1.395 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,win.occ,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.0003771/0.3815, allocations: 155.7 kB / 1.08 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.3818, allocations: 83.89 kB / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3818, allocations: 0 / 1.08 GB, free: 1.168 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.852e-05/0.3819, allocations: 35.98 kB / 1.08 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.3822, allocations: 14.16 kB / 1.08 GB, free: 1.121 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.3826, allocations: 217.2 kB / 1.08 GB, free: 0.875 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.3828, allocations: 0.6848 MB / 1.081 GB, free: 168 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.708e-05/0.3829, allocations: 7.984 kB / 1.081 GB, free: 160 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.3829, allocations: 7.438 kB / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.3829, allocations: 0 / 1.081 GB, free: 152 kB / 0.8262 GB Notification: Performance of Templates: time 0.004125/0.3871, allocations: 1.354 MB / 1.082 GB, free: 14.8 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)