Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Comfort.Validation.FangerCBE.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.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.768/4.768, 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.002387/0.002386, allocations: 356.4 kB / 0.644 GB, free: 185.7 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.045/4.045, allocations: 410.7 MB / 1.112 GB, free: 5.957 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.001752/0.001752, allocations: 183.2 kB / 1.225 GB, free: 6.105 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.000477/0.0004772, allocations: 15.98 kB / 1.348 GB, free: 8.242 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5879/0.5884, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.00217/0.5907, allocations: 1.837 MB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1618/0.7525, allocations: 136.4 MB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002565/0.7528, allocations: 3.938 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0008943/0.7537, allocations: 0.729 MB / 1.596 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.7544, allocations: 462.7 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009851/0.7554, allocations: 313.6 kB / 1.597 GB, free: 144.6 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0004743/0.7559, allocations: 487 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.7561, allocations: 65.77 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004285/0.7565, allocations: 291.2 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004249/0.757, allocations: 395 kB / 1.598 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.444e-05/0.757, allocations: 8 kB / 1.598 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006396/0.7577, allocations: 279.4 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001547/0.7578, allocations: 175.4 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 9.52e-05/0.758, allocations: 121.3 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005592/0.7585, allocations: 0.5167 MB / 1.599 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.562e-06/0.7585, allocations: 0 / 1.599 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.907e-06/0.7586, allocations: 0 / 1.599 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.603e-05/0.7586, allocations: 0 / 1.599 GB, free: 142.3 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001369/0.76, allocations: 0.9758 MB / 1.6 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.76, allocations: 19.61 kB / 1.6 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001649/0.7617, allocations: 194.8 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.7623, allocations: 451.5 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.7623, allocations: 20.38 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.752e-05/0.7624, allocations: 19.95 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.7635, allocations: 330.2 kB / 1.601 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.7635, allocations: 0 / 1.601 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.7636, allocations: 8 kB / 1.601 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.247e-06/0.7636, allocations: 4 kB / 1.601 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001469/0.7651, allocations: 336.7 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.7673, allocations: 1.116 MB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001257/0.7686, allocations: 398.5 kB / 1.603 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007524/0.7694, allocations: 205.6 kB / 1.603 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.7694, allocations: 7.938 kB / 1.603 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009195/0.7704, allocations: 300.8 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 4.507e-06/0.7704, allocations: 4 kB / 1.604 GB, free: 137.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=30): time 0.009413/0.7798, allocations: 1.207 MB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.7799, allocations: 85.11 kB / 1.605 GB, free: 136.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001417/0.7813, allocations: 1.345 MB / 1.606 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.776e-05/0.7814, allocations: 33.7 kB / 1.606 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000288/0.7817, allocations: 360.5 kB / 1.607 GB, free: 134.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.7818, allocations: 102.6 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.294e-05/0.7819, allocations: 8 kB / 1.607 GB, free: 134.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.68e-05/0.7819, allocations: 317.9 kB / 1.607 GB, free: 134.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000759/0.7827, allocations: 171.9 kB / 1.607 GB, free: 134.1 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007511/0.7835, allocations: 229.7 kB / 1.607 GB, free: 133.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007534/0.7842, allocations: 191.7 kB / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.655e-06/0.7843, allocations: 0 / 1.608 GB, free: 133.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004367/0.7886, allocations: 0.7039 MB / 1.608 GB, free: 133 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.7887, allocations: 4 kB / 1.608 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.442e-06/0.7887, allocations: 0 / 1.608 GB, free: 133 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001181/0.7899, allocations: 176.7 kB / 1.608 GB, free: 132.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004409/0.7904, allocations: 63.91 kB / 1.609 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008626/0.799, allocations: 2.117 MB / 1.611 GB, free: 130.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007033/0.7998, allocations: 39.88 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.277e-05/0.7998, allocations: 19.98 kB / 1.611 GB, free: 130.4 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 33 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003889/0.8002, allocations: 291 kB / 1.611 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001087/0.8004, allocations: 78.97 kB / 1.611 GB, free: 130 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004566/0.8049, allocations: 0.7498 MB / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.104e-06/0.805, allocations: 7.953 kB / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.801e-06/0.805, allocations: 4 kB / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.805e-06/0.805, allocations: 0 / 1.612 GB, free: 129.3 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006633/0.8057, allocations: 0.5662 MB / 1.612 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.12e-06/0.8057, allocations: 0 / 1.612 GB, free: 128.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003973/0.8061, allocations: 51.91 kB / 1.612 GB, free: 128.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001342/0.8075, allocations: 172.7 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-05/0.8075, allocations: 23.86 kB / 1.613 GB, free: 128.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007961/0.8155, allocations: 2.094 MB / 1.615 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/0.8155, allocations: 0 / 1.615 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004334/0.8199, allocations: 0.7495 MB / 1.615 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000143/0.82, allocations: 155.9 kB / 1.615 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.84e-05/0.8202, allocations: 8 kB / 1.615 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.8207, allocations: 31.97 kB / 1.615 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.969e-05/0.8208, allocations: 27.91 kB / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.579e-05/0.8209, allocations: 15.98 kB / 1.616 GB, free: 125.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001043/0.8219, allocations: 1.003 MB / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.22e-07/0.8219, allocations: 0 / 1.617 GB, free: 124.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006033/0.8225, allocations: 112 kB / 1.617 GB, free: 124.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,inp.nextTimeEvent,inp.nextTimeEventScaled,$whenCondition1,PMVRef.nextTimeEvent,PMVRef.nextTimeEventScaled) * Number of discrete states: 4 (PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent,inp.nextTimeEventScaled,inp.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001421/0.824, allocations: 441.3 kB / 1.617 GB, free: 123.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001934/0.8259, allocations: 0.5501 MB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.273e-06/0.826, allocations: 3.938 kB / 1.618 GB, free: 123.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001035/0.827, allocations: 354.5 kB / 1.618 GB, free: 122.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007877/0.8278, allocations: 117.1 kB / 1.618 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00272/0.8305, allocations: 1.709 MB / 1.62 GB, free: 121 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004773/0.831, allocations: 0.9879 MB / 1.621 GB, free: 120 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005359/0.8316, allocations: 88.64 kB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001692/0.8318, allocations: 47.41 kB / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.657e-06/0.8318, allocations: 0 / 1.621 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.01982/0.8516, allocations: 9.486 MB / 1.63 GB, free: 110.5 MB / 0.8542 GB