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 2.691/2.691, allocations: 287.9 MB / 302.9 MB, free: 8.312 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001437/0.001437, allocations: 179.2 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.019/2.019, allocations: 205.4 MB / 0.6301 GB, free: 10.3 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009963/0.0009963, allocations: 86.86 kB / 0.7434 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004641/0.0004643, allocations: 11 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1532, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002193/0.1554, allocations: 1.792 MB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7562/0.9116, allocations: 127.1 MB / 1.105 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.9119, allocations: 2.656 kB / 1.105 GB, free: 2.137 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001024/0.913, allocations: 0.7289 MB / 1.105 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0008302/0.9138, allocations: 476.4 kB / 1.106 GB, free: 2.102 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.915, allocations: 317.7 kB / 1.106 GB, free: 2.086 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006487/0.9157, allocations: 381.7 kB / 1.106 GB, free: 2.074 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000182/0.9159, allocations: 67.83 kB / 1.107 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004952/0.9164, allocations: 294 kB / 1.107 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005472/0.917, allocations: 355.3 kB / 1.107 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.992e-05/0.917, allocations: 8.781 kB / 1.107 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000946/0.918, allocations: 286 kB / 1.107 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002301/0.9182, allocations: 168.9 kB / 1.108 GB, free: 1.965 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.9185, allocations: 121.9 kB / 1.108 GB, free: 17.91 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009604/0.9195, allocations: 0.5195 MB / 1.108 GB, free: 17.86 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.871e-06/0.9195, allocations: 0 / 1.108 GB, free: 17.86 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.77e-06/0.9195, allocations: 0 / 1.108 GB, free: 17.86 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.354e-05/0.9195, allocations: 3.938 kB / 1.108 GB, free: 17.85 MB / 0.698 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.001787/0.9213, allocations: 0.9802 MB / 1.109 GB, free: 17.16 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.9214, allocations: 12.92 kB / 1.109 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001808/0.9232, allocations: 190.2 kB / 1.109 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008876/0.9241, allocations: 456.2 kB / 1.11 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.644e-05/0.9242, allocations: 11.83 kB / 1.11 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.347e-05/0.9243, allocations: 21.83 kB / 1.11 GB, free: 16.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.9255, allocations: 328.4 kB / 1.11 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.9255, allocations: 1.625 kB / 1.11 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.787e-05/0.9256, allocations: 8.422 kB / 1.11 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.917e-06/0.9256, allocations: 12.66 kB / 1.11 GB, free: 16.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001619/0.9272, allocations: 336.7 kB / 1.11 GB, free: 16.74 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002845/0.9301, allocations: 1.115 MB / 1.112 GB, free: 16.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.9316, allocations: 404 kB / 1.112 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.821e-05/0.9317, allocations: 13.08 kB / 1.112 GB, free: 16.18 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001069/0.9328, allocations: 305.1 kB / 1.112 GB, free: 16.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=30): time 5.459e-06/0.9328, allocations: 0 / 1.112 GB, free: 16.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.009939/0.9428, allocations: 1.204 MB / 1.113 GB, free: 15.88 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.054e-05/0.9429, allocations: 80.39 kB / 1.114 GB, free: 15.78 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001957/0.9449, allocations: 1.343 MB / 1.115 GB, free: 15.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001234/0.945, allocations: 33.3 kB / 1.115 GB, free: 15.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003473/0.9454, allocations: 365.2 kB / 1.115 GB, free: 15.53 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001218/0.9455, allocations: 106.8 kB / 1.115 GB, free: 15.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.328e-05/0.9456, allocations: 4.312 kB / 1.115 GB, free: 15.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.9457, allocations: 322.8 kB / 1.116 GB, free: 15.15 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008161/0.9466, allocations: 171 kB / 1.116 GB, free: 15.15 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008109/0.9474, allocations: 229.5 kB / 1.116 GB, free: 15.08 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008114/0.9482, allocations: 181.9 kB / 1.116 GB, free: 15.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.171e-06/0.9482, allocations: 1.125 kB / 1.116 GB, free: 15.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004637/0.9529, allocations: 0.7093 MB / 1.117 GB, free: 14.96 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.953, allocations: 5.656 kB / 1.117 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.953, allocations: 1.062 kB / 1.117 GB, free: 14.96 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.9543, allocations: 177.9 kB / 1.117 GB, free: 14.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004796/0.9548, allocations: 64.17 kB / 1.117 GB, free: 14.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009026/0.9639, allocations: 2.173 MB / 1.119 GB, free: 13.63 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.9646, allocations: 45.52 kB / 1.119 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.9e-05/0.9647, allocations: 21.83 kB / 1.119 GB, free: 13.61 MB / 0.698 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.0005431/0.9653, allocations: 290.7 kB / 1.12 GB, free: 13.49 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001262/0.9654, allocations: 81.17 kB / 1.12 GB, free: 13.45 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00476/0.9702, allocations: 0.7553 MB / 1.12 GB, free: 13.35 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/0.9702, allocations: 15.94 kB / 1.12 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.258e-06/0.9703, allocations: 0 / 1.12 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.9703, allocations: 3.953 kB / 1.12 GB, free: 13.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.9713, allocations: 0.5609 MB / 1.121 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.312e-06/0.9713, allocations: 1.75 kB / 1.121 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004212/0.9718, allocations: 51.77 kB / 1.121 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00143/0.9732, allocations: 175.1 kB / 1.121 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-05/0.9734, allocations: 16.33 kB / 1.121 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008806/0.9822, allocations: 2.174 MB / 1.123 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.094e-06/0.9822, allocations: 0 / 1.123 GB, free: 11.81 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/0.9869, allocations: 0.7659 MB / 1.124 GB, free: 11.64 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002872/0.9872, allocations: 157.5 kB / 1.124 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001469/0.9874, allocations: 9.094 kB / 1.124 GB, free: 11.49 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000541/0.9879, allocations: 28.97 kB / 1.124 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.988, allocations: 22.86 kB / 1.124 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.47e-05/0.9881, allocations: 18.95 kB / 1.124 GB, free: 11.48 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001546/0.9897, allocations: 1.002 MB / 1.125 GB, free: 11.28 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.125e-06/0.9897, allocations: 0 / 1.125 GB, free: 11.28 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001609/0.9913, allocations: 113.2 kB / 1.125 GB, free: 11.27 MB / 0.698 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.002527/0.9939, allocations: 447.1 kB / 1.126 GB, free: 11.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003368/0.9973, allocations: 0.5402 MB / 1.126 GB, free: 10.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.94e-06/0.9973, allocations: 0 / 1.126 GB, free: 10.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001237/0.9986, allocations: 366.2 kB / 1.127 GB, free: 10.68 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008123/0.9994, allocations: 103.2 kB / 1.127 GB, free: 10.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003445/1.003, allocations: 1.709 MB / 1.128 GB, free: 9.848 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008137/1.004, allocations: 0.9822 MB / 1.129 GB, free: 9.031 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005962/1.004, allocations: 83.94 kB / 1.129 GB, free: 8.996 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001761/1.005, allocations: 47.7 kB / 1.13 GB, free: 8.98 MB / 0.698 GB Notification: Performance of SimCode: time 1.533e-06/1.005, allocations: 0 / 1.13 GB, free: 8.98 MB / 0.698 GB Notification: Performance of Templates: time 0.0257/1.03, allocations: 9.483 MB / 1.139 GB, free: 4.203 MB / 0.698 GB