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.00153/0.00153, 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.001911/0.001911, allocations: 186.9 kB / 16.62 MB, free: 6.582 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.817/1.817, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001483/0.001483, allocations: 65.16 kB / 0.6718 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2212, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Comfort.Validation.FangerCBE): time 0.003441/0.2247, allocations: 2.215 MB / 0.7858 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6568/0.8815, allocations: 150.4 MB / 0.9327 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003648/0.8819, allocations: 2.625 kB / 0.9327 GB, free: 2.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.8831, allocations: 0.7833 MB / 0.9334 GB, free: 2.793 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.000926/0.8841, allocations: 494.7 kB / 0.9339 GB, free: 2.734 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001354/0.8854, allocations: 369 kB / 0.9343 GB, free: 2.676 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009717/0.8864, allocations: 0.5671 MB / 0.9348 GB, free: 2.617 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002799/0.8867, allocations: 77.33 kB / 0.9349 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.8883, allocations: 365.8 kB / 0.9352 GB, free: 2.598 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007668/0.8891, allocations: 481.6 kB / 0.9357 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.00011/0.8892, allocations: 23.34 kB / 0.9357 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008203/0.89, allocations: 298.7 kB / 0.936 GB, free: 2.574 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/0.8903, allocations: 188.9 kB / 0.9362 GB, free: 2.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003837/0.8907, allocations: 260.2 kB / 0.9364 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001489/0.8922, allocations: 0.7368 MB / 0.9372 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.8922, allocations: 3.125 kB / 0.9372 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.256e-06/0.8922, allocations: 2.25 kB / 0.9372 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.516e-05/0.8922, allocations: 0.5312 kB / 0.9372 GB, free: 2.504 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.00251/0.8947, allocations: 1.076 MB / 0.9382 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.8948, allocations: 9.719 kB / 0.9382 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.003e-05/0.8949, allocations: 55.17 kB / 0.9383 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001694/0.8966, allocations: 196.4 kB / 0.9385 GB, free: 17.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008864/0.8975, allocations: 498.8 kB / 0.9389 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.8976, allocations: 15.69 kB / 0.9389 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.79e-05/0.8976, allocations: 17.61 kB / 0.939 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001045/0.8987, allocations: 341.1 kB / 0.9393 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.8987, allocations: 0 / 0.9393 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.027e-05/0.8988, allocations: 5.531 kB / 0.9393 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.8988, allocations: 5.281 kB / 0.9393 GB, free: 17.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001415/0.9002, allocations: 337.4 kB / 0.9396 GB, free: 17.28 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002661/0.9029, allocations: 1.114 MB / 0.9407 GB, free: 16.79 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001175/0.9041, allocations: 398.6 kB / 0.9411 GB, free: 16.73 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006782/0.9048, allocations: 208.9 kB / 0.9413 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.9049, allocations: 11.41 kB / 0.9413 GB, free: 16.71 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009399/0.9058, allocations: 307.3 kB / 0.9416 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=30): time 4.018e-06/0.9058, allocations: 0 / 0.9416 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30): time 0.009605/0.9154, allocations: 1.225 MB / 0.9428 GB, free: 16.39 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.207e-05/0.9156, allocations: 80.67 kB / 0.9429 GB, free: 16.3 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002088/0.9177, allocations: 1.341 MB / 0.9442 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001251/0.9178, allocations: 34.7 kB / 0.9442 GB, free: 16.14 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/0.9181, allocations: 371.9 kB / 0.9446 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/0.9183, allocations: 93.7 kB / 0.9447 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001433/0.9184, allocations: 67.62 kB / 0.9447 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.9186, allocations: 320.6 kB / 0.945 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006804/0.9193, allocations: 166.9 kB / 0.9452 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007041/0.92, allocations: 240.7 kB / 0.9454 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001287/0.9213, allocations: 397.8 kB / 0.9458 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.012e-06/0.9213, allocations: 1.375 kB / 0.9458 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00414/0.9254, allocations: 0.7135 MB / 0.9465 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.495e-05/0.9255, allocations: 5.688 kB / 0.9465 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.9255, allocations: 8.422 kB / 0.9465 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.9266, allocations: 179.1 kB / 0.9467 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004307/0.9271, allocations: 62.33 kB / 0.9467 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007985/0.9351, allocations: 2.296 MB / 0.949 GB, free: 13.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007073/0.9358, allocations: 43.69 kB / 0.949 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.916e-05/0.9359, allocations: 13.64 kB / 0.949 GB, free: 13.98 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.0005436/0.9364, allocations: 300.5 kB / 0.9493 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/0.9367, allocations: 84.47 kB / 0.9494 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00413/0.9408, allocations: 0.7489 MB / 0.9501 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.138e-05/0.9409, allocations: 3.156 kB / 0.9501 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.9409, allocations: 0.9688 kB / 0.9501 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/0.9409, allocations: 3.609 kB / 0.9501 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.942, allocations: 0.5657 MB / 0.9507 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.146e-06/0.942, allocations: 7.547 kB / 0.9507 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003287/0.9423, allocations: 47.34 kB / 0.9507 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00099/0.9433, allocations: 177.6 kB / 0.9509 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/0.9434, allocations: 20.03 kB / 0.9509 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007576/0.951, allocations: 2.291 MB / 0.9532 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.9511, allocations: 6.219 kB / 0.9532 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004248/0.9553, allocations: 0.7609 MB / 0.9539 GB, free: 11.94 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003007/0.9556, allocations: 143 kB / 0.9541 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.9558, allocations: 16.59 kB / 0.9541 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005273/0.9564, allocations: 24.2 kB / 0.9541 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.9565, allocations: 30.22 kB / 0.9541 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.51e-05/0.9566, allocations: 17.09 kB / 0.9541 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001403/0.958, allocations: 0.9984 MB / 0.9551 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.91e-07/0.958, allocations: 0 / 0.9551 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007182/0.9587, allocations: 110.2 kB / 0.9552 GB, free: 11.7 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.005329/0.9641, allocations: 1.642 MB / 0.9568 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001931/0.966, allocations: 0.5478 MB / 0.9574 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.9661, allocations: 0 / 0.9574 GB, free: 10.78 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009967/0.9671, allocations: 362.7 kB / 0.9577 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009162/0.968, allocations: 113.8 kB / 0.9578 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01557/0.9836, allocations: 6.314 MB / 0.964 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.9844, allocations: 0.9728 MB / 0.9649 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004484/0.9848, allocations: 97.42 kB / 0.965 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.9852, allocations: 264.4 kB / 0.9653 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of SimCode: time 9.32e-07/0.9852, allocations: 0 / 0.9653 GB, free: 8.023 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04701/1.032, allocations: 17.78 MB / 0.9826 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.57/13.61, allocations: 7.938 kB / 0.9826 GB, free: 15.36 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)