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.0008918/0.0008918, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005936/0.005936, allocations: 169.1 kB / 16.26 MB, free: 6.652 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.402/1.402, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.838/2.838, allocations: 473.4 MB / 0.7469 GB, free: 6.141 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003706, allocations: 7.75 kB / 0.9158 GB, free: 33.14 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3445/0.3449, allocations: 162.2 MB / 1.074 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.002536/0.3475, allocations: 1.893 MB / 1.076 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1569/0.5044, allocations: 146.7 MB / 1.219 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002425/0.5047, allocations: 7.938 kB / 1.219 GB, free: 2.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0008776/0.5056, allocations: 0.772 MB / 1.22 GB, free: 1.688 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0006166/0.5062, allocations: 474.8 kB / 1.22 GB, free: 1.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008705/0.5071, allocations: 350.2 kB / 1.221 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005441/0.5076, allocations: 0.5459 MB / 1.221 GB, free: 344 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001924/0.5078, allocations: 80.69 kB / 1.221 GB, free: 264 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.5091, allocations: 328.2 kB / 1.222 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004455/0.5096, allocations: 455.7 kB / 1.222 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.5096, allocations: 15.94 kB / 1.222 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005854/0.5102, allocations: 287.6 kB / 1.222 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001626/0.5104, allocations: 179.6 kB / 1.223 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000208/0.5106, allocations: 263.7 kB / 1.223 GB, free: 14.76 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000726/0.5113, allocations: 0.7008 MB / 1.223 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5114, allocations: 0 / 1.223 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5114, allocations: 0 / 1.223 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.5114, allocations: 0 / 1.223 GB, free: 14.06 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.001423/0.5128, allocations: 0.9718 MB / 1.224 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.5129, allocations: 12.03 kB / 1.224 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.5144, allocations: 190.8 kB / 1.225 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004921/0.5149, allocations: 498.6 kB / 1.225 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.145e-05/0.5149, allocations: 16.38 kB / 1.225 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.846e-05/0.515, allocations: 20 kB / 1.225 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/0.5158, allocations: 327.2 kB / 1.225 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.5158, allocations: 0 / 1.225 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.5159, allocations: 4 kB / 1.225 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.5159, allocations: 4 kB / 1.225 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001253/0.5172, allocations: 348.6 kB / 1.226 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.5192, allocations: 1.112 MB / 1.227 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001077/0.5203, allocations: 397.3 kB / 1.227 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.521, allocations: 205.6 kB / 1.227 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.77e-05/0.521, allocations: 15.97 kB / 1.227 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008473/0.5219, allocations: 313.1 kB / 1.228 GB, free: 9.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=30): time 1.903e-06/0.5219, allocations: 3.938 kB / 1.228 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=30): time 0.009041/0.531, allocations: 1.202 MB / 1.229 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.531, allocations: 81.11 kB / 1.229 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001444/0.5325, allocations: 1.337 MB / 1.23 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.254e-05/0.5326, allocations: 37.69 kB / 1.23 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002999/0.5329, allocations: 368.4 kB / 1.231 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001126/0.533, allocations: 94.64 kB / 1.231 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.926e-05/0.533, allocations: 33.7 kB / 1.231 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5332, allocations: 318 kB / 1.231 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006399/0.5338, allocations: 171.9 kB / 1.231 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/0.5345, allocations: 229.9 kB / 1.232 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00131/0.5358, allocations: 398.1 kB / 1.232 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.5358, allocations: 0 / 1.232 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.004081/0.5399, allocations: 0.7072 MB / 1.233 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 3.099e-05/0.54, allocations: 8 kB / 1.233 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/0.54, allocations: 0 / 1.233 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001114/0.5411, allocations: 172.7 kB / 1.233 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003531/0.5415, allocations: 67.89 kB / 1.233 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007413/0.5489, allocations: 2.111 MB / 1.235 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006174/0.5495, allocations: 47.81 kB / 1.235 GB, free: 1.863 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-05/0.5496, allocations: 11.98 kB / 1.235 GB, free: 1.852 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.0004018/0.55, allocations: 298.8 kB / 1.235 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001292/0.5501, allocations: 86.97 kB / 1.235 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.5543, allocations: 0.7428 MB / 1.236 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.354e-06/0.5544, allocations: 8 kB / 1.236 GB, free: 0.6992 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.876e-06/0.5544, allocations: 3.938 kB / 1.236 GB, free: 0.6953 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.5544, allocations: 3.984 kB / 1.236 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008027/0.5552, allocations: 0.5703 MB / 1.237 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.5552, allocations: 0 / 1.237 GB, free: 76 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.5555, allocations: 51.91 kB / 1.237 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.5565, allocations: 184.6 kB / 1.237 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.855e-05/0.5566, allocations: 19.92 kB / 1.237 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007284/0.5639, allocations: 2.099 MB / 1.239 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.5639, allocations: 4.031 kB / 1.239 GB, free: 13.58 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004246/0.5682, allocations: 0.7511 MB / 1.24 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.5683, allocations: 152 kB / 1.24 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.279e-05/0.5684, allocations: 12 kB / 1.24 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.5689, allocations: 27.97 kB / 1.24 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.569, allocations: 27.97 kB / 1.24 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.765e-05/0.5691, allocations: 19.97 kB / 1.24 GB, free: 12.55 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001128/0.5702, allocations: 0.9949 MB / 1.241 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5702, allocations: 4 kB / 1.241 GB, free: 11.56 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005557/0.5708, allocations: 123.8 kB / 1.241 GB, free: 11.44 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.001146/0.5719, allocations: 436.1 kB / 1.241 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001815/0.5738, allocations: 0.5414 MB / 1.242 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5738, allocations: 0 / 1.242 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009665/0.5747, allocations: 362.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.0007305/0.5755, allocations: 114.6 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.00284/0.5783, allocations: 1.793 MB / 1.244 GB, free: 8.309 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006282/0.579, allocations: 0.9723 MB / 1.245 GB, free: 7.309 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003984/0.5794, allocations: 94.83 kB / 1.245 GB, free: 7.219 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.5795, allocations: 39.42 kB / 1.245 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of SimCode: time 5.31e-07/0.5795, allocations: 0 / 1.245 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of Templates: time 0.5702/1.15, allocations: 9.664 MB / 1.255 GB, free: 36.22 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)