Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.906/4.906, allocations: 0.5623 GB / 0.5776 GB, free: 3.359 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.002477/0.002476, allocations: 357 kB / 0.6447 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.216/4.216, allocations: 410.7 MB / 1.113 GB, free: 5.949 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.001899/0.001899, allocations: 193.5 kB / 1.226 GB, free: 6.098 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007714/0.0007717, allocations: 12 kB / 1.349 GB, free: 8.23 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7928/0.7936, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.001734/0.7954, allocations: 1.2 MB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.7968, allocations: 0.716 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.885e-05/0.7969, allocations: 3.938 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 2.111e-05/0.797, allocations: 7.922 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 6.589e-05/0.797, allocations: 7.875 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005522/0.7976, allocations: 87.77 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 9.724e-05/0.7977, allocations: 67.78 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.169e-05/0.7978, allocations: 13.47 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 8.733e-05/0.7979, allocations: 24.95 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.574e-05/0.798, allocations: 43.81 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.798, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002029/0.7983, allocations: 81.67 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.7983, allocations: 11.98 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.535e-05/0.7983, allocations: 37.64 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.7985, allocations: 97.94 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.7985, allocations: 2.125 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.874e-06/0.7986, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.7986, allocations: 0 / 1.464 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.0005977/0.7992, allocations: 413.9 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.7992, allocations: 11.62 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.114e-05/0.7993, allocations: 7.953 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.824e-05/0.7994, allocations: 179.9 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.86e-05/0.7994, allocations: 4 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.7995, allocations: 9.172 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002461/0.7997, allocations: 66.84 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.7998, allocations: 0.6875 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.7998, allocations: 3.938 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.7998, allocations: 0.6562 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.8, allocations: 46.34 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007535/0.8008, allocations: 319.1 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.801, allocations: 52.77 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.8011, allocations: 36.97 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.975e-05/0.8012, allocations: 13.12 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002331/0.8014, allocations: 80.94 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.534e-06/0.8014, allocations: 1.688 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0005634/0.802, allocations: 146.8 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.8021, allocations: 58.31 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.024e-05/0.8022, allocations: 127.9 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.8022, allocations: 25.7 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.8022, allocations: 92.33 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.8023, allocations: 11.8 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/0.8023, allocations: 11.94 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.279e-05/0.8024, allocations: 319.6 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.8025, allocations: 25.33 kB / 1.466 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.8027, allocations: 55.39 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001426/0.8028, allocations: 37.98 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.8028, allocations: 0 / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003514/0.8032, allocations: 115.3 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.754e-05/0.8032, allocations: 12.55 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.8032, allocations: 0 / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.003e-05/0.8033, allocations: 5.594 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001422/0.8034, allocations: 8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.8034, allocations: 7.891 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001384/0.8036, allocations: 20.45 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.8036, allocations: 1.625 kB / 1.466 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 9.036e-05/0.8037, allocations: 117.8 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.8038, allocations: 4.594 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.236e-05/0.8038, allocations: 16.36 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.8038, allocations: 2.641 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.8038, allocations: 0 / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.002e-05/0.8039, allocations: 86.03 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.552e-05/0.8039, allocations: 4 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.703e-05/0.804, allocations: 9.297 kB / 1.466 GB, free: 279.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.8041, allocations: 4 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004207/0.8045, allocations: 199.4 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003948/0.8049, allocations: 292.9 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001429/0.8051, allocations: 32.92 kB / 1.467 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.858e-05/0.8051, allocations: 97.89 kB / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of Backend: time 7.51e-07/0.8051, allocations: 0 / 1.467 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008112/0.806, allocations: 187.1 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004354/0.8064, allocations: 0.6291 MB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.004966/0.8114, allocations: 1.386 MB / 1.469 GB, free: 276.4 MB / 0.8542 GB