Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.715/4.715, allocations: 0.5623 GB / 0.5769 GB, free: 3.344 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.002479/0.002478, allocations: 356.8 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.243/4.243, allocations: 410.7 MB / 1.112 GB, free: 6.016 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.001794/0.001793, allocations: 187.9 kB / 1.225 GB, free: 6.141 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007772/0.0007776, allocations: 12 kB / 1.348 GB, free: 8.273 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5883/0.5891, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.001461/0.5906, allocations: 1.204 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001138/0.5918, allocations: 0.7165 MB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.804e-05/0.5919, allocations: 0 / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.5919, allocations: 7.922 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 5.857e-05/0.592, allocations: 11.88 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004291/0.5924, allocations: 87.77 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 8.452e-05/0.5925, allocations: 63.78 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.87e-05/0.5926, allocations: 14.64 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 7.982e-05/0.5927, allocations: 27.91 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 6.48e-05/0.5928, allocations: 39.83 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.5928, allocations: 4 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.593, allocations: 83.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 2.064e-05/0.593, allocations: 16.88 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.229e-05/0.5931, allocations: 33.64 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001535/0.5932, allocations: 93.94 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.5932, allocations: 0.7812 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.05e-06/0.5932, allocations: 0 / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.562e-06/0.5933, allocations: 2.531 kB / 1.463 GB, free: 282 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.0004941/0.5938, allocations: 412.8 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.5938, allocations: 11.62 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.277e-05/0.5939, allocations: 8.516 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.91e-05/0.594, allocations: 184.4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.594, allocations: 6.719 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.594, allocations: 4 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.5942, allocations: 70.83 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.5943, allocations: 0 / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.5943, allocations: 7.938 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5943, allocations: 1.438 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.5945, allocations: 45.53 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005639/0.595, allocations: 311.2 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.5952, allocations: 55.23 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.5953, allocations: 37.97 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.5954, allocations: 9.656 kB / 1.464 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001984/0.5956, allocations: 80.19 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 3.222e-06/0.5956, allocations: 1.266 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0004492/0.596, allocations: 151.6 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.55e-05/0.5961, allocations: 56.31 kB / 1.464 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.215e-05/0.5962, allocations: 126.5 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.5962, allocations: 29.7 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.013e-05/0.5963, allocations: 92.86 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.5963, allocations: 16.41 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.633e-06/0.5963, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.5964, allocations: 323.6 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001006/0.5965, allocations: 25.3 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.5966, allocations: 55.47 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001141/0.5967, allocations: 37.61 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.5968, allocations: 0 / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002921/0.5971, allocations: 114.8 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.5971, allocations: 13.59 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.354e-06/0.5971, allocations: 3.984 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.418e-05/0.5971, allocations: 0 / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.5972, allocations: 19.95 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5973, allocations: 4.594 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.662e-05/0.5974, allocations: 17.14 kB / 1.465 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.5974, allocations: 4 kB / 1.465 GB, free: 279.5 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 7.991e-05/0.5975, allocations: 114.6 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.5975, allocations: 8.531 kB / 1.465 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.63e-05/0.5975, allocations: 13.61 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.681e-06/0.5976, allocations: 4 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.463e-06/0.5976, allocations: 3.953 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.5976, allocations: 1.906 kB / 1.465 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005124/0.5981, allocations: 385.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-06/0.5981, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.793e-05/0.5982, allocations: 8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.151e-06/0.5982, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.5982, allocations: 3.953 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.77e-06/0.5983, allocations: 3.984 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.918e-06/0.5983, allocations: 1 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003385/0.5986, allocations: 214.4 kB / 1.466 GB, free: 278.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.344e-05/0.5987, allocations: 85.02 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.316e-05/0.5987, allocations: 0 / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.5988, allocations: 16.84 kB / 1.466 GB, free: 278.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/0.5989, allocations: 4 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/0.5989, allocations: 9.172 kB / 1.466 GB, free: 278.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.31e-05/0.599, allocations: 91.27 kB / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.76e-07/0.599, allocations: 0 / 1.466 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003837/0.5994, allocations: 40.44 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.0003498/0.5997, allocations: 167.2 kB / 1.466 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000282/0.6, allocations: 81.3 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.602e-06/0.6, allocations: 0.5938 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.6002, allocations: 37.52 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.0003206/0.6005, allocations: 4 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.0004022/0.6009, allocations: 204.2 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001277/0.6011, allocations: 0.6894 MB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.935e-05/0.6011, allocations: 5.062 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.339e-05/0.6012, allocations: 15.44 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of SimCode: time 1.586e-06/0.6012, allocations: 1.375 kB / 1.467 GB, free: 277.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.004433/0.6056, allocations: 1.348 MB / 1.469 GB, free: 276 MB / 0.8542 GB