Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings.Utilities.Comfort.Validation.FangerCBE") translateModel(Buildings.Utilities.Comfort.Validation.FangerCBE,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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: 109.4 kB / 15.69 MB, free: 128 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.001104/0.001104, allocations: 186.6 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.113/1.113, allocations: 205.1 MB / 222.5 MB, free: 4.535 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.508/1.508, allocations: 292.3 MB / 0.5489 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 66.89 kB / 0.6722 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.162, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003143/0.1652, allocations: 2.196 MB / 0.7863 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4346/0.5998, allocations: 150.4 MB / 0.9332 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001844/0.6, allocations: 6.844 kB / 0.9332 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007475/0.6008, allocations: 0.7863 MB / 0.9339 GB, free: 3.035 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0005819/0.6014, allocations: 488.9 kB / 0.9344 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008095/0.6022, allocations: 371 kB / 0.9348 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004815/0.6027, allocations: 0.5668 MB / 0.9353 GB, free: 2.863 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001501/0.6029, allocations: 81.3 kB / 0.9354 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008037/0.6037, allocations: 365.8 kB / 0.9357 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003883/0.6041, allocations: 480.8 kB / 0.9362 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.452e-05/0.6041, allocations: 26.52 kB / 0.9362 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004592/0.6046, allocations: 296.6 kB / 0.9365 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.6047, allocations: 190.3 kB / 0.9367 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.6049, allocations: 255.9 kB / 0.9369 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0006073/0.6055, allocations: 0.7344 MB / 0.9376 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.6055, allocations: 4 kB / 0.9376 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.6055, allocations: 0.5625 kB / 0.9376 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.914e-06/0.6055, allocations: 0 / 0.9376 GB, free: 2.75 MB / 0.7169 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.001302/0.6069, allocations: 1.081 MB / 0.9387 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 2.773e-05/0.6069, allocations: 9.344 kB / 0.9387 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.6082, allocations: 197.4 kB / 0.9389 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004693/0.6087, allocations: 493.9 kB / 0.9394 GB, free: 17.65 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.6087, allocations: 19.56 kB / 0.9394 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.002e-05/0.6088, allocations: 20.25 kB / 0.9394 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007705/0.6095, allocations: 330.7 kB / 0.9397 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.816e-06/0.6096, allocations: 3.938 kB / 0.9397 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.841e-05/0.6096, allocations: 10.97 kB / 0.9397 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.734e-06/0.6096, allocations: 5.344 kB / 0.9397 GB, free: 17.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001072/0.6107, allocations: 337.3 kB / 0.9401 GB, free: 17.56 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001688/0.6124, allocations: 1.114 MB / 0.9411 GB, free: 17.07 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000953/0.6133, allocations: 402.7 kB / 0.9415 GB, free: 17.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005612/0.6139, allocations: 204.4 kB / 0.9417 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.614, allocations: 10.11 kB / 0.9417 GB, free: 17 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006926/0.6147, allocations: 311.2 kB / 0.942 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/0.6147, allocations: 1.312 kB / 0.942 GB, free: 16.92 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.00778/0.6225, allocations: 1.223 MB / 0.9432 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.6225, allocations: 82.64 kB / 0.9433 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001177/0.6237, allocations: 1.34 MB / 0.9446 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.287e-05/0.6237, allocations: 31.8 kB / 0.9446 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.624, allocations: 372.3 kB / 0.945 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.624, allocations: 93.75 kB / 0.9451 GB, free: 16.27 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.6241, allocations: 66.94 kB / 0.9452 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 8.097e-05/0.6242, allocations: 321.4 kB / 0.9455 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005527/0.6248, allocations: 168.9 kB / 0.9456 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005612/0.6254, allocations: 238.4 kB / 0.9459 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.6264, allocations: 393.6 kB / 0.9462 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.6265, allocations: 3.938 kB / 0.9462 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003401/0.6299, allocations: 0.7208 MB / 0.9469 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.6299, allocations: 6.406 kB / 0.9469 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.6299, allocations: 1.891 kB / 0.9469 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008955/0.6308, allocations: 184.9 kB / 0.9471 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.6311, allocations: 60.08 kB / 0.9472 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006671/0.6378, allocations: 2.298 MB / 0.9494 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005341/0.6383, allocations: 42.95 kB / 0.9495 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.6384, allocations: 18.08 kB / 0.9495 GB, free: 14.26 MB / 0.7325 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.0003306/0.6387, allocations: 292.3 kB / 0.9498 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.336e-05/0.6388, allocations: 84.22 kB / 0.9498 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003509/0.6423, allocations: 0.7477 MB / 0.9506 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.6424, allocations: 4.5 kB / 0.9506 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.795e-06/0.6424, allocations: 3.938 kB / 0.9506 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.6424, allocations: 8.547 kB / 0.9506 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.6429, allocations: 0.5634 MB / 0.9511 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.6429, allocations: 1.25 kB / 0.9511 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.6431, allocations: 46.52 kB / 0.9512 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008166/0.644, allocations: 174.5 kB / 0.9513 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.39e-05/0.644, allocations: 17.02 kB / 0.9514 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00639/0.6504, allocations: 2.298 MB / 0.9536 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.6504, allocations: 8 kB / 0.9536 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003375/0.6538, allocations: 0.7555 MB / 0.9544 GB, free: 12.23 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.032e-05/0.6539, allocations: 143.7 kB / 0.9545 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.992e-05/0.654, allocations: 12.08 kB / 0.9545 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003627/0.6543, allocations: 27.92 kB / 0.9545 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.023e-05/0.6544, allocations: 28.11 kB / 0.9546 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.015e-05/0.6545, allocations: 19.48 kB / 0.9546 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008378/0.6553, allocations: 1.002 MB / 0.9556 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6553, allocations: 1.203 kB / 0.9556 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004256/0.6557, allocations: 110.3 kB / 0.9557 GB, free: 11.98 MB / 0.7325 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.0008404/0.6566, allocations: 438.3 kB / 0.9561 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001457/0.6581, allocations: 0.5539 MB / 0.9566 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6581, allocations: 0 / 0.9566 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007972/0.6589, allocations: 363.2 kB / 0.957 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.6594, allocations: 125.2 kB / 0.9571 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001968/0.6614, allocations: 1.557 MB / 0.9586 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004276/0.6618, allocations: 0.9715 MB / 0.9596 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002565/0.6621, allocations: 90.61 kB / 0.9596 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001072/0.6622, allocations: 41.25 kB / 0.9597 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.6622, allocations: 1.25 kB / 0.9597 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of Templates: time 0.01316/0.6754, allocations: 10.22 MB / 0.9697 GB, free: 6.102 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.makefile (rm -f Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & ./Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)