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.001683/0.001683, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001891/0.001891, allocations: 193 kB / 16.13 MB, free: 6.664 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.395/1.395, allocations: 222.9 MB / 239.8 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 472.6 MB / 0.7447 GB, free: 4.961 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 67.14 kB / 0.9113 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3502/0.3516, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.002929/0.3546, allocations: 1.554 MB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.3559, allocations: 0.7478 MB / 1.07 GB, free: 8.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.569e-05/0.356, allocations: 4 kB / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/0.356, allocations: 0 / 1.07 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.788e-05/0.3561, allocations: 7.875 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004792/0.3566, allocations: 99.81 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.424e-05/0.3567, allocations: 71.78 kB / 1.07 GB, free: 8.441 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.248e-05/0.3568, allocations: 19.95 kB / 1.07 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.267e-05/0.3569, allocations: 31.91 kB / 1.07 GB, free: 8.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.479e-05/0.357, allocations: 39.84 kB / 1.07 GB, free: 8.352 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.929e-05/0.357, allocations: 7.984 kB / 1.07 GB, free: 8.344 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001863/0.3572, allocations: 83.86 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.3572, allocations: 23.91 kB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.851e-05/0.3573, allocations: 23.86 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.3575, allocations: 139.9 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.425e-06/0.3575, allocations: 4 kB / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3575, allocations: 0 / 1.07 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.462e-06/0.3575, allocations: 0 / 1.07 GB, free: 8.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.0006808/0.3582, allocations: 413 kB / 1.071 GB, free: 7.617 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3583, allocations: 12.03 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.3583, allocations: 8.844 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3585, allocations: 180.2 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.3585, allocations: 4.375 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.3585, allocations: 8.359 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.3587, allocations: 73.97 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3587, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.3588, allocations: 4 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/0.3588, allocations: 0 / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001322/0.3589, allocations: 39.91 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006142/0.3595, allocations: 316.7 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001444/0.3597, allocations: 46.56 kB / 1.071 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.21e-05/0.3598, allocations: 32.97 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.3598, allocations: 3.938 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002015/0.36, allocations: 75.38 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.36, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004235/0.3604, allocations: 145.5 kB / 1.072 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.3605, allocations: 59.39 kB / 1.072 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001083/0.3606, allocations: 121.8 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.122e-05/0.3606, allocations: 29.7 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.539e-05/0.3607, allocations: 92.12 kB / 1.072 GB, free: 6.234 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.467e-05/0.3608, allocations: 15.75 kB / 1.072 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.103e-05/0.3608, allocations: 29.7 kB / 1.072 GB, free: 6.184 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001326/0.3609, allocations: 318.8 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.972e-05/0.361, allocations: 39.97 kB / 1.072 GB, free: 5.824 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.313e-05/0.3611, allocations: 42.56 kB / 1.072 GB, free: 5.773 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.3613, allocations: 74.48 kB / 1.072 GB, free: 5.691 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.3613, allocations: 4 kB / 1.072 GB, free: 5.688 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002358/0.3616, allocations: 117.5 kB / 1.072 GB, free: 5.566 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.3616, allocations: 4 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.3616, allocations: 400 / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/0.3616, allocations: 4 kB / 1.073 GB, free: 5.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.3617, allocations: 11.98 kB / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.078e-05/0.3617, allocations: 0 / 1.073 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.3618, allocations: 11.88 kB / 1.073 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.527e-05/0.3618, allocations: 4.062 kB / 1.073 GB, free: 5.531 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.0001136/0.362, allocations: 129.3 kB / 1.073 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.061e-05/0.362, allocations: 11.89 kB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.829e-05/0.362, allocations: 4.375 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.362, allocations: 4 kB / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.362, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.362, allocations: 0 / 1.073 GB, free: 5.379 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.3625, allocations: 394.3 kB / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3626, allocations: 0 / 1.073 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.327e-05/0.3626, allocations: 4 kB / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.3626, allocations: 0 / 1.073 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.3626, allocations: 3.984 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3626, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.3626, allocations: 3.938 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.3629, allocations: 211.4 kB / 1.073 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.363, allocations: 89 kB / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.363, allocations: 0 / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.3631, allocations: 0 / 1.073 GB, free: 4.598 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.778e-05/0.3632, allocations: 19.84 kB / 1.073 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.3632, allocations: 8 kB / 1.073 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.3633, allocations: 95.2 kB / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3633, allocations: 0 / 1.073 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002906/0.3636, allocations: 36 kB / 1.073 GB, free: 4.441 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.0003508/0.3639, allocations: 155.4 kB / 1.074 GB, free: 4.293 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002349/0.3642, allocations: 79.83 kB / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3642, allocations: 0 / 1.074 GB, free: 4.215 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.663e-05/0.3643, allocations: 32.11 kB / 1.074 GB, free: 4.184 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002623/0.3645, allocations: 16.73 kB / 1.074 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004236/0.365, allocations: 186.1 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.3653, allocations: 0.6965 MB / 1.075 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.954e-05/0.3653, allocations: 4 kB / 1.075 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.386e-05/0.3653, allocations: 15.42 kB / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.3654, allocations: 0 / 1.075 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of Templates: time 0.004175/0.3695, allocations: 1.377 MB / 1.076 GB, free: 1.84 MB / 0.8262 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)