Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.000798/0.0007979, allocations: 91.84 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.007036/0.007036, allocations: 170 kB / 16.26 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.462/1.462, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.976/2.976, allocations: 473.4 MB / 0.7469 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003568/0.0003568, allocations: 15.12 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3165/0.3168, allocations: 162.2 MB / 1.074 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen): time 0.001518/0.3184, allocations: 1.215 MB / 1.075 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.3196, allocations: 0.7169 MB / 1.076 GB, free: 5.52 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.3196, allocations: 7.875 kB / 1.076 GB, free: 5.512 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.798e-05/0.3197, allocations: 3.984 kB / 1.076 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.14e-05/0.3197, allocations: 11.92 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004459/0.3202, allocations: 99.78 kB / 1.076 GB, free: 5.398 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.537e-05/0.3203, allocations: 71.77 kB / 1.076 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.504e-05/0.3204, allocations: 19.97 kB / 1.076 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.067e-05/0.3205, allocations: 23.92 kB / 1.076 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.637e-05/0.3206, allocations: 39.83 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.3206, allocations: 4 kB / 1.076 GB, free: 5.242 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001704/0.3208, allocations: 91.84 kB / 1.076 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.379e-05/0.3208, allocations: 15.92 kB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.538e-05/0.3209, allocations: 49.56 kB / 1.076 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002083/0.3211, allocations: 147.9 kB / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.3211, allocations: 0 / 1.077 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.194e-06/0.3211, allocations: 3.938 kB / 1.077 GB, free: 4.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.3211, allocations: 4 kB / 1.077 GB, free: 4.93 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.0005774/0.3217, allocations: 401 kB / 1.077 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.3217, allocations: 8.031 kB / 1.077 GB, free: 4.477 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.063e-05/0.3218, allocations: 8.844 kB / 1.077 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.3219, allocations: 172.3 kB / 1.077 GB, free: 4.262 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.3219, allocations: 4.375 kB / 1.077 GB, free: 4.258 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.963e-05/0.3219, allocations: 12.31 kB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.3221, allocations: 73.97 kB / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.3222, allocations: 0 / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.3222, allocations: 0 / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.3222, allocations: 0 / 1.077 GB, free: 4.168 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.3223, allocations: 43.97 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005882/0.3229, allocations: 328.6 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.3231, allocations: 54.5 kB / 1.078 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.962e-05/0.3232, allocations: 40.97 kB / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.3232, allocations: 0 / 1.078 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.3234, allocations: 75.38 kB / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3234, allocations: 0 / 1.078 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003943/0.3238, allocations: 157.5 kB / 1.078 GB, free: 3.402 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.3238, allocations: 55.41 kB / 1.078 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.98e-05/0.3239, allocations: 117.8 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.324, allocations: 29.7 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.324, allocations: 92.12 kB / 1.078 GB, free: 3.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-05/0.324, allocations: 19.81 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.192e-05/0.3241, allocations: 25.7 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3242, allocations: 318.8 kB / 1.079 GB, free: 2.711 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.493e-05/0.3243, allocations: 31.98 kB / 1.079 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.377e-05/0.3244, allocations: 50.55 kB / 1.079 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001844/0.3246, allocations: 82.48 kB / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3246, allocations: 0 / 1.079 GB, free: 2.531 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002422/0.3248, allocations: 121.9 kB / 1.079 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.3248, allocations: 7.984 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3249, allocations: 80 / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.3249, allocations: 0 / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.325, allocations: 12 kB / 1.079 GB, free: 2.387 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.325, allocations: 3.984 kB / 1.079 GB, free: 2.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.184e-05/0.3251, allocations: 11.89 kB / 1.079 GB, free: 2.371 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.242e-05/0.3251, allocations: 4 kB / 1.079 GB, free: 2.367 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 8.974e-05/0.3252, allocations: 133.7 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.254e-05/0.3252, allocations: 4 kB / 1.079 GB, free: 2.223 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.6e-05/0.3252, allocations: 12.36 kB / 1.079 GB, free: 2.211 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3252, allocations: 3.938 kB / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3252, allocations: 0 / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3253, allocations: 0 / 1.079 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004355/0.3257, allocations: 402.2 kB / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3257, allocations: 0 / 1.079 GB, free: 1.758 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.3257, allocations: 4 kB / 1.079 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3258, allocations: 0 / 1.079 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.3258, allocations: 3.984 kB / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3258, allocations: 0 / 1.079 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.3258, allocations: 11.92 kB / 1.079 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002692/0.3261, allocations: 207.5 kB / 1.08 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.427e-05/0.3261, allocations: 85.02 kB / 1.08 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.965e-05/0.3261, allocations: 7.984 kB / 1.08 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.944e-05/0.3262, allocations: 4 kB / 1.08 GB, free: 1.406 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.717e-05/0.3263, allocations: 11.92 kB / 1.08 GB, free: 1.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.3263, allocations: 4 kB / 1.08 GB, free: 1.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.193e-05/0.3263, allocations: 99.27 kB / 1.08 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.803e-06/0.3264, allocations: 0 / 1.08 GB, free: 1.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002955/0.3267, allocations: 35.94 kB / 1.08 GB, free: 1.258 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.000321/0.327, allocations: 157.3 kB / 1.08 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002437/0.3272, allocations: 83.94 kB / 1.08 GB, free: 1.027 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3272, allocations: 3.938 kB / 1.08 GB, free: 1.023 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.756e-05/0.3273, allocations: 39.92 kB / 1.08 GB, free: 0.9844 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.3276, allocations: 9.531 kB / 1.08 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003568/0.328, allocations: 209.2 kB / 1.08 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002079/0.3282, allocations: 0.6848 MB / 1.081 GB, free: 28 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.469e-05/0.3282, allocations: 7.984 kB / 1.081 GB, free: 20 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.3283, allocations: 11.44 kB / 1.081 GB, free: 8 kB / 0.8262 GB Notification: Performance of SimCode: time 1.834e-06/0.3283, allocations: 4 kB / 1.081 GB, free: 4 kB / 0.8262 GB Notification: Performance of Templates: time 0.004019/0.3323, allocations: 1.358 MB / 1.082 GB, free: 14.66 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.makefile (rm -f Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; mkfifo Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe >> ../files/Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.sim & ./Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.pipe 2>&1)