Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008694/0.0008695, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006897/0.006897, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.442/1.442, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003553/0.0003555, allocations: 8.906 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3182, allocations: 162.2 MB / 1.074 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001603/0.3198, allocations: 1.212 MB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.321, allocations: 0.7246 MB / 1.076 GB, free: 5.586 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.405e-05/0.3211, allocations: 4 kB / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.077e-05/0.3211, allocations: 0 / 1.076 GB, free: 5.582 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.099e-05/0.3212, allocations: 11.86 kB / 1.076 GB, free: 5.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004719/0.3217, allocations: 99.77 kB / 1.076 GB, free: 5.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.034e-05/0.3218, allocations: 71.83 kB / 1.076 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.3219, allocations: 15.98 kB / 1.076 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.986e-05/0.3219, allocations: 31.91 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.322, allocations: 31.83 kB / 1.076 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.322, allocations: 4 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001732/0.3222, allocations: 95.84 kB / 1.076 GB, free: 5.227 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.54e-05/0.3222, allocations: 15.91 kB / 1.076 GB, free: 5.211 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.243e-05/0.3223, allocations: 53.56 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002377/0.3226, allocations: 139.9 kB / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.3226, allocations: 0 / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.347e-06/0.3226, allocations: 0 / 1.077 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.3226, allocations: 0 / 1.077 GB, free: 5.016 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.0007124/0.3233, allocations: 409 kB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.3234, allocations: 11.97 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.2e-05/0.3234, allocations: 8.844 kB / 1.077 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001785/0.3236, allocations: 176.2 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.593e-05/0.3237, allocations: 4.375 kB / 1.077 GB, free: 4.328 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/0.3237, allocations: 4.375 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.324, allocations: 81.91 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.324, allocations: 4 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.324, allocations: 0 / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.324, allocations: 4 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001387/0.3242, allocations: 39.97 kB / 1.077 GB, free: 4.191 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007047/0.3249, allocations: 332.6 kB / 1.078 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001347/0.325, allocations: 50.56 kB / 1.078 GB, free: 3.758 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.78e-05/0.3251, allocations: 36.97 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.234e-05/0.3252, allocations: 0 / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003027/0.3255, allocations: 83.38 kB / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.623e-06/0.3255, allocations: 0 / 1.078 GB, free: 3.625 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004239/0.3259, allocations: 149.5 kB / 1.078 GB, free: 3.473 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.326, allocations: 55.41 kB / 1.078 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.3261, allocations: 125.8 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.285e-05/0.3261, allocations: 25.7 kB / 1.078 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.247e-05/0.3262, allocations: 88.14 kB / 1.078 GB, free: 3.152 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.3262, allocations: 19.73 kB / 1.078 GB, free: 3.133 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.257e-05/0.3262, allocations: 17.72 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.3264, allocations: 330.8 kB / 1.079 GB, free: 2.777 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.3265, allocations: 23.98 kB / 1.079 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001039/0.3266, allocations: 54.55 kB / 1.079 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.3268, allocations: 78.5 kB / 1.079 GB, free: 2.605 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3268, allocations: 4 kB / 1.079 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000255/0.3271, allocations: 113.6 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3271, allocations: 9.562 kB / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.3271, allocations: 0 / 1.079 GB, free: 2.477 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.3272, allocations: 7.938 kB / 1.079 GB, free: 2.469 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3273, allocations: 15.92 kB / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3273, allocations: 400 / 1.079 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.297e-05/0.3274, allocations: 15.91 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.3274, allocations: 7.984 kB / 1.079 GB, free: 2.43 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 0.0001282/0.3275, allocations: 121.8 kB / 1.079 GB, free: 2.301 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.584e-05/0.3275, allocations: 4 kB / 1.079 GB, free: 2.297 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.246e-05/0.3276, allocations: 8.375 kB / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.3276, allocations: 0 / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.3276, allocations: 0 / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3276, allocations: 0 / 1.079 GB, free: 2.289 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005326/0.3282, allocations: 410.2 kB / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3282, allocations: 0 / 1.079 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.3282, allocations: 7.984 kB / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.3282, allocations: 0 / 1.079 GB, free: 1.824 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.417e-05/0.3282, allocations: 4 kB / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.3283, allocations: 0 / 1.079 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-06/0.3283, allocations: 3.938 kB / 1.079 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.3286, allocations: 219.4 kB / 1.08 GB, free: 1.586 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.063e-05/0.3287, allocations: 81.02 kB / 1.08 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.3287, allocations: 8 kB / 1.08 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.747e-05/0.3288, allocations: 4 kB / 1.08 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.3289, allocations: 7.922 kB / 1.08 GB, free: 1.469 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3289, allocations: 4 kB / 1.08 GB, free: 1.465 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.197e-05/0.3289, allocations: 91.27 kB / 1.08 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3289, allocations: 4 kB / 1.08 GB, free: 1.371 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000328/0.3293, allocations: 39.98 kB / 1.08 GB, free: 1.332 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.0003934/0.3297, allocations: 165 kB / 1.08 GB, free: 1.176 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002683/0.3299, allocations: 75.91 kB / 1.08 GB, free: 1.102 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.33, allocations: 3.938 kB / 1.08 GB, free: 1.098 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3301, allocations: 39.97 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002769/0.3304, allocations: 9.828 kB / 1.08 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00044/0.3308, allocations: 209.2 kB / 1.08 GB, free: 0.8125 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003183/0.3311, allocations: 0.6887 MB / 1.081 GB, free: 100 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.745e-05/0.3312, allocations: 4 kB / 1.081 GB, free: 96 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.3312, allocations: 11.44 kB / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3312, allocations: 0 / 1.081 GB, free: 84 kB / 0.8262 GB Notification: Performance of Templates: time 0.004526/0.3357, allocations: 1.362 MB / 1.082 GB, free: 14.72 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)