Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.037/5.037, allocations: 0.5623 GB / 0.5769 GB, free: 3.332 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00238/0.002379, allocations: 360.7 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.115/4.115, allocations: 410.7 MB / 1.112 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001783/0.001783, allocations: 188.1 kB / 1.225 GB, free: 6.07 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004949/0.0004955, allocations: 16 kB / 1.348 GB, free: 8.203 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5892/0.5897, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.001455/0.5912, allocations: 1.207 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.5924, allocations: 0.7149 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.932e-05/0.5925, allocations: 3.938 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.402e-05/0.5925, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.043e-05/0.5926, allocations: 7.875 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004458/0.593, allocations: 96.73 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.265e-05/0.5931, allocations: 60.64 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.144e-05/0.5932, allocations: 13.73 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 9.024e-05/0.5933, allocations: 35.84 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.5934, allocations: 27.89 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.5934, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000178/0.5936, allocations: 85.23 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.5936, allocations: 15.97 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.303e-05/0.5937, allocations: 37.64 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.5939, allocations: 98.91 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.2e-06/0.5939, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.678e-06/0.5939, allocations: 0 / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.223e-06/0.5939, allocations: 0.625 kB / 1.463 GB, free: 281.9 MB / 0.8542 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.0005042/0.5944, allocations: 418.9 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.5945, allocations: 15.62 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.228e-05/0.5945, allocations: 7.953 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.059e-05/0.5946, allocations: 172.2 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.5947, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.83e-05/0.5947, allocations: 4.75 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.5949, allocations: 75.81 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.5949, allocations: 0.75 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.5949, allocations: 3.984 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.771e-06/0.5949, allocations: 4 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001573/0.5951, allocations: 37.42 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005768/0.5957, allocations: 319.9 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.5959, allocations: 55.31 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.596, allocations: 36.94 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.596, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.5962, allocations: 92.12 kB / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.604e-06/0.5963, allocations: 0 / 1.464 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004509/0.5967, allocations: 145.2 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.668e-05/0.5968, allocations: 59.34 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/0.5969, allocations: 130.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.5969, allocations: 30.27 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.942e-05/0.5969, allocations: 87.3 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.2e-05/0.597, allocations: 19.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.395e-06/0.597, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.313e-05/0.597, allocations: 318.8 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001033/0.5972, allocations: 31.97 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001056/0.5973, allocations: 50.02 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.5974, allocations: 41.16 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.358e-06/0.5974, allocations: 0 / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002975/0.5977, allocations: 123.4 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.5978, allocations: 4.594 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.016e-06/0.5978, allocations: 4 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5978, allocations: 0.6562 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001216/0.5979, allocations: 20.38 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.598, allocations: 6.125 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.48e-05/0.5981, allocations: 7.938 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.5981, allocations: 8 kB / 1.465 GB, free: 279.4 MB / 0.8542 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,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.119e-05/0.5982, allocations: 118.8 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.5982, allocations: 11.84 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.5982, allocations: 9.844 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-06/0.5983, allocations: 1.266 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.375e-06/0.5983, allocations: 3.953 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.259e-06/0.5983, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004758/0.5988, allocations: 380.7 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-06/0.5988, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.392e-05/0.5989, allocations: 8.672 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.5989, allocations: 0.875 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.5989, allocations: 7.953 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.617e-06/0.5989, allocations: 1.062 kB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.981e-06/0.5989, allocations: 0 / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003118/0.5992, allocations: 217.5 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.5993, allocations: 85 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.5993, allocations: 0.875 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.5994, allocations: 12.58 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.479e-05/0.5995, allocations: 10.36 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.5995, allocations: 5.031 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.431e-05/0.5996, allocations: 91.27 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.8e-07/0.5996, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003808/0.6, allocations: 39.94 kB / 1.466 GB, free: 278.4 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000355/0.6003, allocations: 171.8 kB / 1.466 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002849/0.6006, allocations: 77.81 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.468e-06/0.6007, allocations: 0.7188 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001186/0.6008, allocations: 40.59 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.6011, allocations: 9.234 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004011/0.6015, allocations: 203.7 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001262/0.6017, allocations: 0.6926 MB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.86e-05/0.6017, allocations: 9.703 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.6018, allocations: 7.438 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.488e-06/0.6018, allocations: 3.156 kB / 1.467 GB, free: 277.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.004489/0.6063, allocations: 1.33 MB / 1.469 GB, free: 275.9 MB / 0.8542 GB