Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001013/0.001013, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006328/0.006328, allocations: 170 kB / 16.26 MB, free: 6.613 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.523/1.523, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.901/2.901, allocations: 473.4 MB / 0.7469 GB, free: 6.125 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0006066/0.000607, allocations: 16.28 kB / 0.9158 GB, free: 33.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.3336, allocations: 162.2 MB / 1.074 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002404/0.3361, allocations: 1.897 MB / 1.076 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1552/0.4913, allocations: 146.7 MB / 1.219 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002223/0.4915, allocations: 0 / 1.219 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009365/0.4925, allocations: 0.7758 MB / 1.22 GB, free: 1.695 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007365/0.4932, allocations: 478.8 kB / 1.22 GB, free: 1.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001079/0.4943, allocations: 356.5 kB / 1.221 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006433/0.495, allocations: 0.5459 MB / 1.221 GB, free: 344 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002108/0.4952, allocations: 76.7 kB / 1.221 GB, free: 268 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001407/0.4966, allocations: 322.3 kB / 1.222 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000507/0.4971, allocations: 455.7 kB / 1.222 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.4972, allocations: 12 kB / 1.222 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005449/0.4977, allocations: 283.5 kB / 1.222 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001664/0.4979, allocations: 183.6 kB / 1.223 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002101/0.4981, allocations: 271.6 kB / 1.223 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007071/0.4988, allocations: 0.6969 MB / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.4988, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4989, allocations: 0 / 1.224 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.4989, allocations: 0 / 1.224 GB, free: 14.07 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.001451/0.5003, allocations: 0.9679 MB / 1.224 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.5004, allocations: 12.03 kB / 1.224 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001539/0.5019, allocations: 194.8 kB / 1.225 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005323/0.5025, allocations: 486.7 kB / 1.225 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.5025, allocations: 20.36 kB / 1.225 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.631e-05/0.5026, allocations: 20 kB / 1.225 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009335/0.5035, allocations: 335.1 kB / 1.225 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.5035, allocations: 0 / 1.225 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.5036, allocations: 4 kB / 1.225 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.366e-06/0.5036, allocations: 7.984 kB / 1.225 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/0.5049, allocations: 340.6 kB / 1.226 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00201/0.5069, allocations: 1.12 MB / 1.227 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.5081, allocations: 401.3 kB / 1.227 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007153/0.5088, allocations: 201.6 kB / 1.227 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.332e-05/0.5089, allocations: 15.97 kB / 1.227 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008523/0.5097, allocations: 305.9 kB / 1.228 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.553e-06/0.5097, allocations: 0 / 1.228 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.00919/0.5189, allocations: 1.203 MB / 1.229 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.519, allocations: 88.98 kB / 1.229 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001333/0.5203, allocations: 1.341 MB / 1.23 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.484e-05/0.5204, allocations: 37.7 kB / 1.23 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.5207, allocations: 364.4 kB / 1.231 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.854e-05/0.5208, allocations: 98.66 kB / 1.231 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.5209, allocations: 29.7 kB / 1.231 GB, free: 6.254 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.521, allocations: 314 kB / 1.231 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006619/0.5217, allocations: 171.9 kB / 1.231 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006854/0.5223, allocations: 225.9 kB / 1.232 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001309/0.5237, allocations: 396.8 kB / 1.232 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5237, allocations: 0 / 1.232 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004173/0.5279, allocations: 0.7074 MB / 1.233 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5279, allocations: 12.06 kB / 1.233 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.5279, allocations: 0 / 1.233 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.529, allocations: 180.6 kB / 1.233 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003479/0.5294, allocations: 59.89 kB / 1.233 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007492/0.5369, allocations: 2.109 MB / 1.235 GB, free: 1.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005325/0.5374, allocations: 43.75 kB / 1.235 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.5375, allocations: 19.97 kB / 1.235 GB, free: 1.863 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.0003629/0.5378, allocations: 298.2 kB / 1.235 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.5379, allocations: 90.89 kB / 1.235 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004236/0.5422, allocations: 0.7466 MB / 1.236 GB, free: 0.7109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/0.5422, allocations: 4 kB / 1.236 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.094e-06/0.5422, allocations: 0 / 1.236 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.5422, allocations: 0 / 1.236 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005934/0.5428, allocations: 0.5819 MB / 1.237 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.5428, allocations: 0 / 1.237 GB, free: 80 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002736/0.5431, allocations: 51.91 kB / 1.237 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001024/0.5441, allocations: 180.6 kB / 1.237 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.581e-05/0.5442, allocations: 11.98 kB / 1.237 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00729/0.5515, allocations: 2.111 MB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.5515, allocations: 0 / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004089/0.5556, allocations: 0.7472 MB / 1.24 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.5558, allocations: 148 kB / 1.24 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.357e-05/0.5558, allocations: 12 kB / 1.24 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004451/0.5563, allocations: 35.97 kB / 1.24 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.072e-05/0.5564, allocations: 23.91 kB / 1.24 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.576e-05/0.5564, allocations: 15.98 kB / 1.24 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001017/0.5575, allocations: 1.003 MB / 1.241 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5575, allocations: 0 / 1.241 GB, free: 11.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005122/0.558, allocations: 123.8 kB / 1.241 GB, free: 11.45 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.001112/0.5591, allocations: 440.1 kB / 1.241 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001788/0.5609, allocations: 0.5453 MB / 1.242 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.5609, allocations: 0 / 1.242 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009565/0.5619, allocations: 358.4 kB / 1.242 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007053/0.5626, allocations: 118.8 kB / 1.242 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002551/0.5652, allocations: 1.789 MB / 1.244 GB, free: 8.312 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.5657, allocations: 0.9723 MB / 1.245 GB, free: 7.312 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000342/0.5661, allocations: 82.86 kB / 1.245 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000125/0.5662, allocations: 47.42 kB / 1.245 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of SimCode: time 2.51e-07/0.5662, allocations: 0 / 1.245 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of Templates: time 0.5268/1.093, allocations: 9.669 MB / 1.255 GB, free: 181.5 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)