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: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 108 kB / 15.61 MB, free: 152 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.001075/0.001075, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.332/1.332, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.621/1.621, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001385/0.001385, allocations: 69.08 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1918/0.1932, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003344/0.1966, allocations: 2.202 MB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5775/0.7741, allocations: 150.4 MB / 0.9325 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002189/0.7744, allocations: 2.344 kB / 0.9325 GB, free: 2.848 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00106/0.7755, allocations: 0.7844 MB / 0.9333 GB, free: 2.785 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.0007125/0.7763, allocations: 488.9 kB / 0.9338 GB, free: 2.73 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.7774, allocations: 369.6 kB / 0.9341 GB, free: 2.668 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005316/0.7779, allocations: 0.5631 MB / 0.9347 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.7781, allocations: 84.52 kB / 0.9347 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/0.7792, allocations: 366.1 kB / 0.9351 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000479/0.7797, allocations: 473.9 kB / 0.9355 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.7797, allocations: 23.47 kB / 0.9356 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006569/0.7804, allocations: 299.9 kB / 0.9358 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002471/0.7807, allocations: 187.6 kB / 0.936 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003197/0.781, allocations: 262.8 kB / 0.9363 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.7821, allocations: 0.7212 MB / 0.937 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.7821, allocations: 0 / 0.937 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7821, allocations: 4.719 kB / 0.937 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.28e-05/0.7821, allocations: 0 / 0.937 GB, free: 2.5 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.001957/0.7841, allocations: 1.083 MB / 0.938 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.851e-05/0.7842, allocations: 9.781 kB / 0.9381 GB, free: 17.77 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.308e-05/0.7843, allocations: 51.16 kB / 0.9381 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001642/0.7859, allocations: 200.4 kB / 0.9383 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.7865, allocations: 487.9 kB / 0.9388 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.53e-05/0.7866, allocations: 12.78 kB / 0.9388 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.785e-05/0.7866, allocations: 19.78 kB / 0.9388 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009002/0.7875, allocations: 344.7 kB / 0.9391 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.7875, allocations: 0 / 0.9391 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.582e-05/0.7876, allocations: 8.609 kB / 0.9391 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.7876, allocations: 4.156 kB / 0.9391 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001313/0.7889, allocations: 338.7 kB / 0.9395 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00215/0.7911, allocations: 1.118 MB / 0.9405 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.7922, allocations: 397.7 kB / 0.9409 GB, free: 16.72 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000692/0.7929, allocations: 209.1 kB / 0.9411 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 4.806e-05/0.793, allocations: 8.531 kB / 0.9411 GB, free: 16.7 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008337/0.7938, allocations: 309.3 kB / 0.9414 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 2.134e-06/0.7939, allocations: 0 / 0.9414 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.008994/0.8029, allocations: 1.22 MB / 0.9426 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.676e-05/0.803, allocations: 82.58 kB / 0.9427 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/0.8046, allocations: 1.342 MB / 0.944 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.033e-05/0.8047, allocations: 31.67 kB / 0.944 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002902/0.805, allocations: 378.6 kB / 0.9444 GB, free: 16.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.824e-05/0.8051, allocations: 93.22 kB / 0.9445 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.8052, allocations: 63.52 kB / 0.9445 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.8054, allocations: 321.6 kB / 0.9449 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.806, allocations: 171.8 kB / 0.945 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006409/0.8066, allocations: 235 kB / 0.9452 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.8079, allocations: 401.9 kB / 0.9456 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.8079, allocations: 1.125 kB / 0.9456 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003852/0.8117, allocations: 0.7168 MB / 0.9463 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.547e-05/0.8118, allocations: 4.844 kB / 0.9463 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.8118, allocations: 1.438 kB / 0.9463 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001036/0.8128, allocations: 181.1 kB / 0.9465 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003603/0.8132, allocations: 65.03 kB / 0.9466 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007376/0.8206, allocations: 2.294 MB / 0.9488 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006633/0.8213, allocations: 47.41 kB / 0.9489 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.766e-05/0.8213, allocations: 14.3 kB / 0.9489 GB, free: 13.97 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.0004296/0.8218, allocations: 297.3 kB / 0.9491 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001214/0.8219, allocations: 83.69 kB / 0.9492 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003895/0.8258, allocations: 0.7469 MB / 0.95 GB, free: 13.72 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.618e-06/0.8258, allocations: 7.375 kB / 0.95 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.8258, allocations: 1.188 kB / 0.95 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.8259, allocations: 3.641 kB / 0.95 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008904/0.8268, allocations: 0.5641 MB / 0.9505 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.8268, allocations: 0.6562 kB / 0.9505 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.8271, allocations: 48.44 kB / 0.9506 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000956/0.828, allocations: 183.1 kB / 0.9507 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.807e-05/0.8281, allocations: 15 kB / 0.9508 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007425/0.8355, allocations: 2.291 MB / 0.953 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8356, allocations: 5 kB / 0.953 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00409/0.8397, allocations: 0.7586 MB / 0.9537 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.8399, allocations: 143.6 kB / 0.9539 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.443e-05/0.84, allocations: 16.69 kB / 0.9539 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.8405, allocations: 28 kB / 0.9539 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.974e-05/0.8406, allocations: 21.31 kB / 0.9539 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.676e-05/0.8406, allocations: 17.27 kB / 0.954 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001189/0.8418, allocations: 1.001 MB / 0.9549 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.91e-07/0.8418, allocations: 5.5 kB / 0.9549 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005912/0.8424, allocations: 108.8 kB / 0.955 GB, free: 11.69 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.005085/0.8475, allocations: 1.637 MB / 0.9566 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.8495, allocations: 0.5771 MB / 0.9572 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8495, allocations: 0 / 0.9572 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009676/0.8505, allocations: 366.1 kB / 0.9576 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008031/0.8513, allocations: 116.9 kB / 0.9577 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/0.8656, allocations: 6.579 MB / 0.9641 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.8663, allocations: 0.9648 MB / 0.965 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004624/0.8667, allocations: 82.39 kB / 0.9651 GB, free: 7.621 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003209/0.8671, allocations: 266.3 kB / 0.9654 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of SimCode: time 7.21e-07/0.8671, allocations: 0 / 0.9654 GB, free: 7.613 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04091/0.908, allocations: 17.75 MB / 0.9827 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.96/11.87, allocations: 11.27 kB / 0.9827 GB, free: 15.01 MB / 0.7481 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE_res.csv --start-time 0 --stop-time 2300 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_8_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)