Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy.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.Occupancy.Validation.Wang2005Occupancy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.996/4.996, allocations: 0.5623 GB / 0.5776 GB, free: 3.355 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.003781/0.003781, allocations: 360.2 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.172/4.172, allocations: 410.7 MB / 1.113 GB, free: 5.879 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.00187/0.00187, allocations: 184.7 kB / 1.226 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007333/0.0007337, allocations: 12 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7285/0.7293, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Occupancy.Validation.Wang2005Occupancy): time 0.001557/0.7309, allocations: 1.056 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0007894/0.7317, allocations: 325.8 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.924e-05/0.7318, allocations: 0.9062 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.351e-05/0.7319, allocations: 3.938 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.873e-05/0.7319, allocations: 4.719 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004011/0.7323, allocations: 62.33 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.426e-05/0.7324, allocations: 27.92 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.851e-05/0.7325, allocations: 3.938 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 2.857e-05/0.7325, allocations: 15.92 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.252e-05/0.7325, allocations: 19.86 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.269e-05/0.7326, allocations: 0 / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001804/0.7328, allocations: 73.69 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.788e-05/0.7328, allocations: 19.94 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 4.267e-05/0.7329, allocations: 45.62 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.733, allocations: 91.83 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.7331, allocations: 1.469 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.214e-06/0.7331, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.7331, allocations: 0 / 1.463 GB, free: 282.6 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: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0005362/0.7336, allocations: 418.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.7337, allocations: 13.5 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001044/0.7338, allocations: 15.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.057e-05/0.7339, allocations: 174.9 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.7339, allocations: 7.938 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.807e-05/0.734, allocations: 4 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002483/0.7342, allocations: 179.8 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.7343, allocations: 0 / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.7343, allocations: 0 / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.7343, allocations: 8 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.7344, allocations: 79.97 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001688/0.7346, allocations: 203.1 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001863/0.7348, allocations: 142.5 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001211/0.7349, allocations: 115.5 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.658e-06/0.7349, allocations: 0 / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003098/0.7353, allocations: 203.3 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=39): time 1.873e-06/0.7353, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=39): time 0.0008415/0.7361, allocations: 0.55 MB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.214e-05/0.7362, allocations: 99.3 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.781e-05/0.7363, allocations: 122.4 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.7364, allocations: 58.19 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 2.784e-05/0.7364, allocations: 81.95 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.605e-05/0.7365, allocations: 94.98 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.7365, allocations: 9.312 kB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.285e-05/0.7366, allocations: 334.8 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.7369, allocations: 168.9 kB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.7372, allocations: 238.9 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.7376, allocations: 215.8 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/0.7376, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0007974/0.7384, allocations: 490.8 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.7385, allocations: 4 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.7385, allocations: 5.312 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.7385, allocations: 4 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/0.7387, allocations: 27.8 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/0.7387, allocations: 6.25 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001474/0.7389, allocations: 43.47 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.7389, allocations: 12 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 77 ($PRE.occ.hold_time,occ.hold_time,$PRE.occ.mu,occ.mu,$PRE.occ.occ,occ.occ,$PRE.occ.state[1],occ.state[1],$PRE.occ.state[2],occ.state[2],$PRE.occ.state[3],occ.state[3],$PRE.occ.state[4],occ.state[4],$PRE.occ.state[5],occ.state[5],$PRE.occ.state[6],occ.state[6],$PRE.occ.state[7],occ.state[7],$PRE.occ.state[8],occ.state[8],$PRE.occ.state[9],occ.state[9],$PRE.occ.state[10],occ.state[10],$PRE.occ.state[11],occ.state[11],$PRE.occ.state[12],occ.state[12],$PRE.occ.state[13],occ.state[13],$PRE.occ.state[14],occ.state[14],$PRE.occ.state[15],occ.state[15],$PRE.occ.state[16],occ.state[16],$PRE.occ.state[17],occ.state[17],$PRE.occ.state[18],occ.state[18],$PRE.occ.state[19],occ.state[19],$PRE.occ.state[20],occ.state[20],$PRE.occ.state[21],occ.state[21],$PRE.occ.state[22],occ.state[22],$PRE.occ.state[23],occ.state[23],$PRE.occ.state[24],occ.state[24],$PRE.occ.state[25],occ.state[25],$PRE.occ.state[26],occ.state[26],$PRE.occ.state[27],occ.state[27],$PRE.occ.state[28],occ.state[28],$PRE.occ.state[29],occ.state[29],$PRE.occ.state[30],occ.state[30],$PRE.occ.state[31],occ.state[31],$PRE.occ.state[32],occ.state[32],$PRE.occ.state[33],occ.state[33],$PRE.occ.r,occ.r,$whenCondition1,$PRE.occ.tNext,occ.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 44 * Array equations: 1 * 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 0.0002434/0.7392, allocations: 200.7 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.7392, allocations: 11.81 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.7392, allocations: 10.59 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.7393, allocations: 0 / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.7393, allocations: 7.984 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.532e-05/0.7393, allocations: 97.78 kB / 1.467 GB, free: 278 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.748e-05/0.7394, allocations: 28.73 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.491e-05/0.7394, allocations: 4.844 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.694e-05/0.7395, allocations: 0 / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006548/0.7402, allocations: 0.4954 MB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.000625/0.7408, allocations: 0.5841 MB / 1.468 GB, free: 276.8 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001363/0.741, allocations: 116 kB / 1.468 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.769e-05/0.741, allocations: 78.17 kB / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of Backend: time 1.312e-06/0.741, allocations: 0 / 1.469 GB, free: 276.7 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001044/0.7421, allocations: 391.5 kB / 1.469 GB, free: 276.3 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0006095/0.7427, allocations: 0.7212 MB / 1.47 GB, free: 275.5 MB / 0.8542 GB Notification: Performance of Templates: time 0.005666/0.7484, allocations: 1.658 MB / 1.471 GB, free: 274 MB / 0.8542 GB