Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007787/0.000779, 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.004958/0.004958, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.473/1.473, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.033/3.033, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005119/0.000512, allocations: 12.38 kB / 0.9158 GB, free: 33.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4012, allocations: 162.2 MB / 1.074 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.002031/0.4033, allocations: 1.219 MB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.4045, allocations: 0.713 MB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.673e-05/0.4045, allocations: 7.938 kB / 1.076 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.931e-05/0.4046, allocations: 3.938 kB / 1.076 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.861e-05/0.4046, allocations: 7.922 kB / 1.076 GB, free: 5.527 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004547/0.4051, allocations: 103.8 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.4052, allocations: 75.77 kB / 1.076 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.4053, allocations: 11.98 kB / 1.076 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.972e-05/0.4054, allocations: 27.92 kB / 1.076 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.01e-05/0.4055, allocations: 39.81 kB / 1.076 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.4055, allocations: 4 kB / 1.076 GB, free: 5.27 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.4057, allocations: 91.84 kB / 1.076 GB, free: 5.18 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.42e-05/0.4057, allocations: 15.92 kB / 1.076 GB, free: 5.164 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.19e-05/0.4058, allocations: 57.55 kB / 1.076 GB, free: 5.102 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.406, allocations: 139.9 kB / 1.077 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4061, allocations: 0 / 1.077 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.295e-06/0.4061, allocations: 0 / 1.077 GB, free: 4.965 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.4061, allocations: 0 / 1.077 GB, free: 4.965 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.000753/0.4068, allocations: 401 kB / 1.077 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.4069, allocations: 12.02 kB / 1.077 GB, free: 4.508 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.4069, allocations: 12.84 kB / 1.077 GB, free: 4.496 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002417/0.4072, allocations: 172.3 kB / 1.077 GB, free: 4.289 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.4072, allocations: 4.375 kB / 1.077 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.4073, allocations: 8.375 kB / 1.077 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.4075, allocations: 69.97 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4075, allocations: 3.938 kB / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.4075, allocations: 0 / 1.077 GB, free: 4.199 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.4075, allocations: 4 kB / 1.077 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.4077, allocations: 43.97 kB / 1.077 GB, free: 4.152 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006234/0.4083, allocations: 324.7 kB / 1.078 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.4084, allocations: 62.44 kB / 1.078 GB, free: 3.715 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.446e-05/0.4085, allocations: 32.97 kB / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.4086, allocations: 0 / 1.078 GB, free: 3.68 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.4088, allocations: 87.38 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.4088, allocations: 0 / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000391/0.4092, allocations: 141.5 kB / 1.078 GB, free: 3.438 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.4092, allocations: 59.41 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002439/0.4095, allocations: 129.8 kB / 1.078 GB, free: 3.23 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.4095, allocations: 25.7 kB / 1.078 GB, free: 3.199 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.4096, allocations: 88.22 kB / 1.078 GB, free: 3.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.562e-05/0.4096, allocations: 23.72 kB / 1.078 GB, free: 3.086 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.113e-05/0.4096, allocations: 17.72 kB / 1.078 GB, free: 3.062 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4098, allocations: 326.8 kB / 1.079 GB, free: 2.734 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.058e-05/0.4099, allocations: 27.98 kB / 1.079 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.954e-05/0.41, allocations: 50.56 kB / 1.079 GB, free: 2.648 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.4101, allocations: 78.48 kB / 1.079 GB, free: 2.562 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.4102, allocations: 8 kB / 1.079 GB, free: 2.555 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002299/0.4104, allocations: 113.5 kB / 1.079 GB, free: 2.438 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.4104, allocations: 6.344 kB / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.4104, allocations: 0 / 1.079 GB, free: 2.434 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.4104, allocations: 4 kB / 1.079 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.4105, allocations: 15.98 kB / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.4106, allocations: 64 / 1.079 GB, free: 2.414 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.4106, allocations: 15.91 kB / 1.079 GB, free: 2.398 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.4106, allocations: 7.984 kB / 1.079 GB, free: 2.391 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.503e-05/0.4107, allocations: 121.7 kB / 1.079 GB, free: 2.262 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.478e-05/0.4108, allocations: 11.92 kB / 1.079 GB, free: 2.25 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.644e-05/0.4108, allocations: 8.375 kB / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.4108, allocations: 0 / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4108, allocations: 0 / 1.079 GB, free: 2.242 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.4108, allocations: 4 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.4113, allocations: 398.6 kB / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.4113, allocations: 0 / 1.079 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.4113, allocations: 7.984 kB / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.4113, allocations: 0 / 1.079 GB, free: 1.785 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.164e-05/0.4114, allocations: 4 kB / 1.079 GB, free: 1.781 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.4114, allocations: 8 kB / 1.079 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.4114, allocations: 7.953 kB / 1.079 GB, free: 1.766 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.4117, allocations: 211.5 kB / 1.08 GB, free: 1.543 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.2e-05/0.4117, allocations: 81.02 kB / 1.08 GB, free: 1.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.005e-05/0.4117, allocations: 8 kB / 1.08 GB, free: 1.438 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.232e-05/0.4118, allocations: 8 kB / 1.08 GB, free: 1.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.867e-05/0.4119, allocations: 7.922 kB / 1.08 GB, free: 1.422 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.4119, allocations: 7.938 kB / 1.08 GB, free: 1.414 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.838e-05/0.4119, allocations: 91.27 kB / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.412, allocations: 0 / 1.08 GB, free: 1.324 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002682/0.4122, allocations: 39.98 kB / 1.08 GB, free: 1.285 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.0003295/0.4126, allocations: 149.9 kB / 1.08 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002238/0.4128, allocations: 75.89 kB / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4128, allocations: 0 / 1.08 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001011/0.4129, allocations: 48.09 kB / 1.08 GB, free: 1.02 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.4132, allocations: 11.88 kB / 1.08 GB, free: 1.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000389/0.4136, allocations: 201.1 kB / 1.08 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.4139, allocations: 0.7015 MB / 1.081 GB, free: 52 kB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.414, allocations: 4 kB / 1.081 GB, free: 48 kB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.637e-05/0.414, allocations: 15.44 kB / 1.081 GB, free: 32 kB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.414, allocations: 0 / 1.081 GB, free: 32 kB / 0.8262 GB Notification: Performance of Templates: time 0.004115/0.4181, allocations: 1.354 MB / 1.082 GB, free: 14.68 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile (rm -f Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1)