Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") translateModel(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.000929/0.0009291, allocations: 98.19 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.006559/0.00656, allocations: 169 kB / 16.26 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.415/1.415, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.85/2.85, allocations: 473.4 MB / 0.7469 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004099/0.0004104, allocations: 17.03 kB / 0.9158 GB, free: 33.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3773/0.3777, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall): time 0.001955/0.3798, allocations: 1.219 MB / 1.075 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001373/0.3812, allocations: 0.7285 MB / 1.076 GB, free: 5.621 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.362e-05/0.3812, allocations: 3.938 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.957e-05/0.3813, allocations: 0 / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-05/0.3813, allocations: 15.84 kB / 1.076 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005749/0.3819, allocations: 103.8 kB / 1.076 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.382, allocations: 63.84 kB / 1.076 GB, free: 5.438 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3822, allocations: 19.97 kB / 1.076 GB, free: 5.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.153e-05/0.3823, allocations: 27.91 kB / 1.076 GB, free: 5.391 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.314e-05/0.3823, allocations: 35.84 kB / 1.076 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.3824, allocations: 4 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002015/0.3826, allocations: 91.84 kB / 1.076 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.712e-05/0.3826, allocations: 15.92 kB / 1.076 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.691e-05/0.3827, allocations: 53.55 kB / 1.076 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000225/0.3829, allocations: 143.9 kB / 1.077 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3829, allocations: 0 / 1.077 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.984e-06/0.3829, allocations: 0 / 1.077 GB, free: 5.047 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3829, allocations: 0 / 1.077 GB, free: 5.047 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.000671/0.3836, allocations: 401 kB / 1.077 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3837, allocations: 12.03 kB / 1.077 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.3837, allocations: 8.844 kB / 1.077 GB, free: 4.582 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001335/0.3839, allocations: 172.3 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.693e-05/0.3839, allocations: 16.36 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.794e-05/0.3839, allocations: 4.375 kB / 1.077 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001974/0.3841, allocations: 73.95 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.168e-06/0.3842, allocations: 4 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.106e-05/0.3842, allocations: 4 kB / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.3842, allocations: 0 / 1.077 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001497/0.3843, allocations: 43.97 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006418/0.385, allocations: 332.5 kB / 1.078 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001305/0.3851, allocations: 50.56 kB / 1.078 GB, free: 3.793 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/0.3852, allocations: 36.95 kB / 1.078 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.91e-05/0.3853, allocations: 4 kB / 1.078 GB, free: 3.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002347/0.3855, allocations: 75.38 kB / 1.078 GB, free: 3.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.3855, allocations: 4 kB / 1.078 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004917/0.386, allocations: 157.4 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.3861, allocations: 55.47 kB / 1.078 GB, free: 3.434 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3862, allocations: 117.8 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3863, allocations: 29.7 kB / 1.078 GB, free: 3.273 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.932e-05/0.3864, allocations: 96.12 kB / 1.078 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.3864, allocations: 19.75 kB / 1.078 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.749e-05/0.3864, allocations: 21.7 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.3866, allocations: 314.8 kB / 1.079 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.3867, allocations: 27.98 kB / 1.079 GB, free: 2.785 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.3868, allocations: 58.55 kB / 1.079 GB, free: 2.719 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.387, allocations: 78.48 kB / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.387, allocations: 0 / 1.079 GB, free: 2.633 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000257/0.3872, allocations: 117.5 kB / 1.079 GB, free: 2.512 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.694e-05/0.3873, allocations: 9.391 kB / 1.079 GB, free: 2.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.3873, allocations: 4 kB / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.3873, allocations: 0 / 1.079 GB, free: 2.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.3874, allocations: 11.94 kB / 1.079 GB, free: 2.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.3874, allocations: 4 kB / 1.079 GB, free: 2.484 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.818e-05/0.3875, allocations: 11.95 kB / 1.079 GB, free: 2.473 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.3876, allocations: 12 kB / 1.079 GB, free: 2.461 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.000136/0.3877, allocations: 121.7 kB / 1.079 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.462e-05/0.3877, allocations: 4 kB / 1.079 GB, free: 2.328 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.3878, allocations: 12.36 kB / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.3878, allocations: 0 / 1.079 GB, free: 2.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.3878, allocations: 4 kB / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.3878, allocations: 0 / 1.079 GB, free: 2.312 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005267/0.3883, allocations: 394.2 kB / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3883, allocations: 0 / 1.079 GB, free: 1.871 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.816e-05/0.3884, allocations: 4 kB / 1.079 GB, free: 1.867 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.3884, allocations: 4 kB / 1.079 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.3884, allocations: 3.984 kB / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3884, allocations: 0 / 1.079 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.3884, allocations: 3.938 kB / 1.079 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002912/0.3887, allocations: 219.9 kB / 1.08 GB, free: 1.625 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.509e-05/0.3888, allocations: 85.02 kB / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.3888, allocations: 0 / 1.08 GB, free: 1.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.3889, allocations: 7.984 kB / 1.08 GB, free: 1.516 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.199e-05/0.3889, allocations: 15.94 kB / 1.08 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.124e-05/0.389, allocations: 7.984 kB / 1.08 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.523e-05/0.389, allocations: 91.92 kB / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.389, allocations: 0 / 1.08 GB, free: 1.402 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003065/0.3893, allocations: 40 kB / 1.08 GB, free: 1.363 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.0003635/0.3897, allocations: 165.7 kB / 1.08 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.39, allocations: 75.89 kB / 1.08 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.39, allocations: 0 / 1.08 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.555e-05/0.3901, allocations: 39.92 kB / 1.08 GB, free: 1.094 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002641/0.3903, allocations: 8.125 kB / 1.08 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004174/0.3908, allocations: 213 kB / 1.08 GB, free: 0.8438 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.391, allocations: 0.6848 MB / 1.081 GB, free: 136 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.3911, allocations: 11.98 kB / 1.081 GB, free: 124 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.807e-05/0.3911, allocations: 11.44 kB / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3911, allocations: 0 / 1.081 GB, free: 112 kB / 0.8262 GB Notification: Performance of Templates: time 0.005014/0.3961, allocations: 1.353 MB / 1.082 GB, free: 14.76 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.pipe 2>&1)