Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Comfort.Validation.FangerCBE") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 194 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.318/1.318, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.713/2.713, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 68.75 kB / 0.9113 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3039, allocations: 159.9 MB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003733/0.3077, allocations: 2.259 MB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1601/0.4679, allocations: 148.3 MB / 1.214 GB, free: 3.809 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002799/0.4682, allocations: 7.938 kB / 1.214 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001032/0.4692, allocations: 0.7603 MB / 1.215 GB, free: 3.039 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0008188/0.4701, allocations: 490.8 kB / 1.216 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/0.4712, allocations: 346.4 kB / 1.216 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007562/0.472, allocations: 0.5498 MB / 1.217 GB, free: 1.672 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002246/0.4723, allocations: 68.72 kB / 1.217 GB, free: 1.605 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.4739, allocations: 345.4 kB / 1.217 GB, free: 1.277 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006031/0.4746, allocations: 463.7 kB / 1.217 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.031e-05/0.4746, allocations: 12 kB / 1.217 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006797/0.4753, allocations: 299.5 kB / 1.218 GB, free: 0.5195 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/0.4755, allocations: 175.7 kB / 1.218 GB, free: 356 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002824/0.4758, allocations: 253.9 kB / 1.218 GB, free: 100 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009909/0.4768, allocations: 0.7087 MB / 1.219 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.4769, allocations: 0 / 1.219 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4769, allocations: 4 kB / 1.219 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.062e-05/0.4769, allocations: 0 / 1.219 GB, free: 15.38 MB / 0.9825 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.001894/0.4788, allocations: 1.065 MB / 1.22 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4788, allocations: 12.03 kB / 1.22 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001742/0.4806, allocations: 198.7 kB / 1.22 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.4812, allocations: 486.7 kB / 1.221 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.326e-05/0.4813, allocations: 20.36 kB / 1.221 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.088e-05/0.4813, allocations: 16 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009943/0.4823, allocations: 331.2 kB / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.4824, allocations: 0 / 1.221 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.576e-05/0.4824, allocations: 12 kB / 1.221 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.305e-06/0.4824, allocations: 4 kB / 1.221 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001397/0.4838, allocations: 340.6 kB / 1.221 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002275/0.4861, allocations: 1.12 MB / 1.222 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001187/0.4873, allocations: 401.3 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007112/0.488, allocations: 209.6 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.4881, allocations: 11.97 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008986/0.489, allocations: 309.2 kB / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 3.076e-06/0.489, allocations: 0 / 1.223 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.009416/0.4985, allocations: 1.214 MB / 1.224 GB, free: 9.445 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.129e-05/0.4985, allocations: 81.11 kB / 1.224 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.5001, allocations: 1.345 MB / 1.226 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.163e-05/0.5001, allocations: 37.69 kB / 1.226 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/0.5005, allocations: 360.5 kB / 1.226 GB, free: 7.594 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.5006, allocations: 98.66 kB / 1.226 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001487/0.5007, allocations: 65.67 kB / 1.226 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001247/0.5009, allocations: 322 kB / 1.227 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000688/0.5016, allocations: 167.9 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.5023, allocations: 233.9 kB / 1.227 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/0.5037, allocations: 394.7 kB / 1.227 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.987e-06/0.5037, allocations: 0 / 1.227 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004173/0.5079, allocations: 0.7203 MB / 1.228 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.5079, allocations: 4 kB / 1.228 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.5079, allocations: 4.312 kB / 1.228 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001069/0.509, allocations: 184.6 kB / 1.228 GB, free: 5.371 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003587/0.5093, allocations: 59.97 kB / 1.228 GB, free: 5.312 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007798/0.5172, allocations: 2.115 MB / 1.23 GB, free: 3.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005763/0.5177, allocations: 47.83 kB / 1.23 GB, free: 3.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.831e-05/0.5178, allocations: 11.98 kB / 1.23 GB, free: 3.008 MB / 0.9825 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 ($PRE.inp.nextTimeEvent,$whenCondition2,inp.nextTimeEventScaled,$PRE.inp.nextTimeEventScaled,inp.nextTimeEvent,$PRE.PMVRef.nextTimeEvent,$whenCondition1,PMVRef.nextTimeEventScaled,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004483/0.5183, allocations: 299.4 kB / 1.231 GB, free: 2.707 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.5184, allocations: 78.97 kB / 1.231 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004373/0.5228, allocations: 0.7545 MB / 1.232 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.5228, allocations: 4 kB / 1.232 GB, free: 1.855 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.5228, allocations: 4 kB / 1.232 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.5228, allocations: 3.984 kB / 1.232 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006888/0.5235, allocations: 0.5626 MB / 1.232 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.5235, allocations: 3.938 kB / 1.232 GB, free: 1.234 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.5238, allocations: 51.91 kB / 1.232 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00103/0.5249, allocations: 180.6 kB / 1.232 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/0.5249, allocations: 19.97 kB / 1.232 GB, free: 0.9844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007805/0.5327, allocations: 2.115 MB / 1.234 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.963e-06/0.5328, allocations: 0 / 1.234 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004362/0.5371, allocations: 0.7628 MB / 1.235 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.5373, allocations: 144 kB / 1.235 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.621e-05/0.5374, allocations: 12 kB / 1.235 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004809/0.5379, allocations: 31.97 kB / 1.235 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.797e-05/0.538, allocations: 15.97 kB / 1.235 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.538, allocations: 19.98 kB / 1.235 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001021/0.5391, allocations: 1.003 MB / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of sort global known variables: time 3.21e-07/0.5391, allocations: 0 / 1.236 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005266/0.5396, allocations: 115.9 kB / 1.236 GB, free: 12.6 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001088/0.5407, allocations: 444.1 kB / 1.237 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.5426, allocations: 0.5396 MB / 1.237 GB, free: 11.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.5426, allocations: 4 kB / 1.237 GB, free: 11.76 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00106/0.5437, allocations: 366.7 kB / 1.238 GB, free: 11.39 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.5444, allocations: 117.8 kB / 1.238 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002736/0.5472, allocations: 1.778 MB / 1.24 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.5477, allocations: 0.9684 MB / 1.241 GB, free: 8.473 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003785/0.5481, allocations: 90.84 kB / 1.241 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001365/0.5483, allocations: 43.42 kB / 1.241 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.5483, allocations: 0 / 1.241 GB, free: 8.344 MB / 0.9981 GB Notification: Performance of Templates: time 0.493/1.041, allocations: 9.799 MB / 1.25 GB, free: 184.1 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_1.6_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_1.6_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)