Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Comfort.Validation.FangerCBE,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.601/1.601, allocations: 285.4 MB / 298 MB, free: 6.047 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 176.8 kB / 366.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.945/1.945, allocations: 205.1 MB / 0.6248 GB, free: 7.766 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000858/0.0008579, allocations: 91.42 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.401e-05/3.403e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7655/0.7655, allocations: 115.3 MB / 0.971 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.616/6.381, allocations: 2.074 GB / 3.045 GB, free: 19.72 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003814/6.382, allocations: 82.39 kB / 3.045 GB, free: 19.68 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.965/7.347, allocations: 56.42 MB / 3.1 GB, free: 331 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.797e-06/7.347, allocations: 1.25 kB / 3.1 GB, free: 331 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.371e-05/7.347, allocations: 23.09 kB / 3.101 GB, free: 331 MB / 0.948 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.001785/7.349, allocations: 0.9011 MB / 3.101 GB, free: 330.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.866e-05/7.349, allocations: 8.844 kB / 3.101 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.03e-05/7.349, allocations: 55.11 kB / 3.101 GB, free: 330.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00153/7.351, allocations: 187.1 kB / 3.102 GB, free: 330.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/7.352, allocations: 0.5328 MB / 3.102 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.259e-05/7.352, allocations: 16.8 kB / 3.102 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/7.352, allocations: 17.2 kB / 3.102 GB, free: 329.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006643/7.353, allocations: 303.4 kB / 3.102 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/7.353, allocations: 0 / 3.102 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/7.353, allocations: 11.19 kB / 3.102 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.121e-05/7.353, allocations: 4.75 kB / 3.102 GB, free: 329.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006129/7.353, allocations: 293.3 kB / 3.103 GB, free: 329.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002779/7.356, allocations: 1.236 MB / 3.104 GB, free: 328.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007396/7.357, allocations: 363.3 kB / 3.104 GB, free: 328.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003319/7.357, allocations: 180.9 kB / 3.104 GB, free: 328.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.051e-05/7.357, allocations: 10.97 kB / 3.104 GB, free: 328.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005207/7.358, allocations: 278.1 kB / 3.105 GB, free: 328.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 2.354e-06/7.358, allocations: 0 / 3.105 GB, free: 328.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003122/7.361, allocations: 0.6278 MB / 3.105 GB, free: 328.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/7.361, allocations: 82.02 kB / 3.105 GB, free: 328.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002319/7.363, allocations: 1.212 MB / 3.107 GB, free: 327.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.997e-05/7.363, allocations: 36.61 kB / 3.107 GB, free: 327.8 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002978/7.364, allocations: 367.7 kB / 3.107 GB, free: 327.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/7.364, allocations: 103.6 kB / 3.107 GB, free: 327.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/7.364, allocations: 5.375 kB / 3.107 GB, free: 327.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.732e-05/7.364, allocations: 316.3 kB / 3.107 GB, free: 327.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000268/7.364, allocations: 140.8 kB / 3.108 GB, free: 327.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003334/7.365, allocations: 205.2 kB / 3.108 GB, free: 326.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003024/7.365, allocations: 150 kB / 3.108 GB, free: 326.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/7.365, allocations: 0 / 3.108 GB, free: 326.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=35) (initialization): time 0.002981/7.368, allocations: 0.6402 MB / 3.109 GB, free: 326.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.302e-05/7.368, allocations: 5.375 kB / 3.109 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/7.368, allocations: 0.9688 kB / 3.109 GB, free: 326.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004989/7.368, allocations: 125 kB / 3.109 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003856/7.369, allocations: 62.31 kB / 3.109 GB, free: 326.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004158/7.373, allocations: 1.872 MB / 3.111 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007948/7.374, allocations: 46.23 kB / 3.111 GB, free: 325.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.031e-05/7.374, allocations: 13.64 kB / 3.111 GB, free: 325.2 MB / 0.948 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 ($whenCondition2,$PRE.inp.nextTimeEvent,inp.nextTimeEvent,$PRE.inp.nextTimeEventScaled,inp.nextTimeEventScaled,$whenCondition1,$PRE.PMVRef.nextTimeEvent,PMVRef.nextTimeEvent,$PRE.PMVRef.nextTimeEventScaled,PMVRef.nextTimeEventScaled) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001654/7.374, allocations: 129 kB / 3.111 GB, free: 325.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/7.374, allocations: 85.8 kB / 3.111 GB, free: 325 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0035/7.378, allocations: 0.7599 MB / 3.112 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/7.378, allocations: 4.188 kB / 3.112 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/7.378, allocations: 5.203 kB / 3.112 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.035e-06/7.378, allocations: 3.938 kB / 3.112 GB, free: 324.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/7.379, allocations: 0.6595 MB / 3.112 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/7.379, allocations: 1.375 kB / 3.112 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003352/7.379, allocations: 61.22 kB / 3.112 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003758/7.38, allocations: 123.7 kB / 3.112 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.664e-05/7.38, allocations: 14.83 kB / 3.112 GB, free: 324.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003863/7.384, allocations: 1.856 MB / 3.114 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/7.384, allocations: 0 / 3.114 GB, free: 323 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00316/7.387, allocations: 0.7119 MB / 3.115 GB, free: 322.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004847/7.387, allocations: 232.5 kB / 3.115 GB, free: 322.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/7.387, allocations: 13.39 kB / 3.115 GB, free: 322.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000493/7.388, allocations: 30.53 kB / 3.115 GB, free: 322.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001132/7.388, allocations: 30.27 kB / 3.115 GB, free: 322.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/7.388, allocations: 22.09 kB / 3.115 GB, free: 322.5 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001873/7.39, allocations: 0.9827 MB / 3.116 GB, free: 322.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.51e-07/7.39, allocations: 1.219 kB / 3.116 GB, free: 322.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001134/7.391, allocations: 218.1 kB / 3.116 GB, free: 322.1 MB / 0.948 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.nextTimeEvent,PMVRef.nextTimeEventScaled,inp.nextTimeEvent,inp.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.005381/7.396, allocations: 2.115 MB / 3.118 GB, free: 320.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001179/7.398, allocations: 0.4988 MB / 3.119 GB, free: 320.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/7.398, allocations: 1.562 kB / 3.119 GB, free: 320.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006118/7.398, allocations: 346.9 kB / 3.119 GB, free: 320.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/7.399, allocations: 116.7 kB / 3.119 GB, free: 320.5 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003583/7.403, allocations: 1.58 MB / 3.121 GB, free: 319.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000692/7.403, allocations: 0.9945 MB / 3.122 GB, free: 319.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0005569/7.404, allocations: 134.2 kB / 3.122 GB, free: 319.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004655/7.404, allocations: 269.1 kB / 3.122 GB, free: 319 MB / 0.948 GB Notification: Performance of SimCode: time 1.393e-06/7.404, allocations: 1.188 kB / 3.122 GB, free: 319 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06792/7.472, allocations: 30.29 MB / 3.152 GB, free: 302.7 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002766/7.473, allocations: 221.5 kB / 3.152 GB, free: 302.5 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.336/10.81, allocations: 0 / 3.152 GB, free: 302.5 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE_fmu --startTime=0 --stopTime=2300 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Comfort_Validation_FangerCBE.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Comfort.Validation.FangerCBE.pipe 2>&1)