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.001132/0.001132, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 191.2 kB / 16.53 MB, free: 6.391 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.316/1.316, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.773/2.773, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 60.89 kB / 0.912 GB, free: 33.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2668/0.2681, allocations: 159.9 MB / 1.068 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003339/0.2714, allocations: 2.213 MB / 1.07 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1519/0.4234, allocations: 150.6 MB / 1.217 GB, free: 1.102 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000307/0.4237, allocations: 7.938 kB / 1.217 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001103/0.4249, allocations: 0.7757 MB / 1.218 GB, free: 324 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.001052/0.426, allocations: 0.4909 MB / 1.219 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001281/0.4273, allocations: 406.1 kB / 1.219 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007916/0.4281, allocations: 0.5654 MB / 1.22 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.4283, allocations: 68.73 kB / 1.22 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001358/0.4297, allocations: 363.5 kB / 1.22 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007221/0.4304, allocations: 483.7 kB / 1.22 GB, free: 13.98 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.178e-05/0.4305, allocations: 24 kB / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008307/0.4314, allocations: 299.6 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002233/0.4316, allocations: 187.7 kB / 1.221 GB, free: 13.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002898/0.4319, allocations: 254 kB / 1.221 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00121/0.4331, allocations: 0.7282 MB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.4331, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.724e-06/0.4331, allocations: 0 / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.818e-05/0.4332, allocations: 0 / 1.222 GB, free: 12.5 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.001857/0.435, allocations: 1.084 MB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.4351, allocations: 8.031 kB / 1.223 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001624/0.4367, allocations: 198.7 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000672/0.4374, allocations: 490.7 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.047e-05/0.4374, allocations: 12.38 kB / 1.224 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.065e-05/0.4375, allocations: 16 kB / 1.224 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009643/0.4385, allocations: 331.2 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.4385, allocations: 0 / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/0.4385, allocations: 15.92 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.4385, allocations: 4 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001352/0.4399, allocations: 336.7 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002387/0.4423, allocations: 1.116 MB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.4435, allocations: 405.3 kB / 1.226 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006989/0.4442, allocations: 205.6 kB / 1.226 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.4443, allocations: 8 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008784/0.4451, allocations: 313.7 kB / 1.226 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 4.339e-06/0.4452, allocations: 3.984 kB / 1.226 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.008811/0.454, allocations: 1.218 MB / 1.227 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.782e-05/0.4541, allocations: 85.09 kB / 1.227 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/0.4556, allocations: 1.337 MB / 1.229 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.858e-05/0.4557, allocations: 33.7 kB / 1.229 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/0.456, allocations: 368.4 kB / 1.229 GB, free: 4.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000196/0.4562, allocations: 94.64 kB / 1.229 GB, free: 4.602 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/0.4564, allocations: 69.67 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.4565, allocations: 322 kB / 1.23 GB, free: 4.207 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006572/0.4572, allocations: 163.9 kB / 1.23 GB, free: 4.047 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/0.4579, allocations: 233.9 kB / 1.23 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.4593, allocations: 399 kB / 1.23 GB, free: 3.395 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.4593, allocations: 4 kB / 1.23 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004046/0.4633, allocations: 0.7164 MB / 1.231 GB, free: 2.664 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.4634, allocations: 7.984 kB / 1.231 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.4634, allocations: 4 kB / 1.231 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.4645, allocations: 176.7 kB / 1.231 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003505/0.4649, allocations: 71.89 kB / 1.231 GB, free: 2.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007984/0.4729, allocations: 2.288 MB / 1.234 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/0.4735, allocations: 39.8 kB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.18e-05/0.4735, allocations: 27.91 kB / 1.234 GB, free: 15.91 MB / 0.9981 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.000388/0.4739, allocations: 293.6 kB / 1.234 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.4741, allocations: 82.91 kB / 1.234 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/0.4782, allocations: 0.7556 MB / 1.235 GB, free: 14.77 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.4782, allocations: 4 kB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4782, allocations: 0 / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4782, allocations: 4 kB / 1.235 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.4789, allocations: 0.5781 MB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.479, allocations: 0 / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.4793, allocations: 47.91 kB / 1.235 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009714/0.4802, allocations: 176.7 kB / 1.236 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.4803, allocations: 15.97 kB / 1.236 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007491/0.4878, allocations: 2.299 MB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.4878, allocations: 3.938 kB / 1.238 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004051/0.4919, allocations: 0.7596 MB / 1.239 GB, free: 10.66 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001729/0.4921, allocations: 148 kB / 1.239 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.072e-05/0.4922, allocations: 15.94 kB / 1.239 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004336/0.4926, allocations: 27.97 kB / 1.239 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.817e-05/0.4927, allocations: 19.97 kB / 1.239 GB, free: 10.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.459e-05/0.4928, allocations: 19.98 kB / 1.239 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001039/0.4938, allocations: 0.9988 MB / 1.24 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.6e-07/0.4938, allocations: 0 / 1.24 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005169/0.4943, allocations: 115.9 kB / 1.24 GB, free: 9.312 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.001039/0.4954, allocations: 445.6 kB / 1.24 GB, free: 9.031 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00188/0.4973, allocations: 0.5746 MB / 1.241 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4973, allocations: 0 / 1.241 GB, free: 8.445 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009759/0.4983, allocations: 363.6 kB / 1.241 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006728/0.499, allocations: 116.3 kB / 1.241 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.5015, allocations: 1.592 MB / 1.243 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000572/0.5021, allocations: 0.9645 MB / 1.244 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003756/0.5025, allocations: 86.89 kB / 1.244 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.5026, allocations: 43.42 kB / 1.244 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.5027, allocations: 4 kB / 1.244 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of Templates: time 0.5058/1.008, allocations: 10.19 MB / 1.254 GB, free: 183.2 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)