Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.515/2.515, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001248, allocations: 173 kB / 491.2 MB, free: 1.59 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.655/1.655, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 102.6 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.88e-05/1.881e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3173, allocations: 143 MB / 1.212 GB, free: 39.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.268/1.585, allocations: 437.4 MB / 1.64 GB, free: 9.91 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003235/1.586, allocations: 91.88 kB / 1.64 GB, free: 9.863 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.71/6.295, allocations: 1.3 GB / 2.94 GB, free: 136.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.773e-06/6.295, allocations: 0 / 2.94 GB, free: 136.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002208/6.295, allocations: 65.41 kB / 2.94 GB, free: 136.7 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.00506/6.301, allocations: 2.637 MB / 2.942 GB, free: 134.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/6.301, allocations: 8.031 kB / 2.942 GB, free: 134.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004002/6.305, allocations: 0.8918 MB / 2.943 GB, free: 133.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004694/6.309, allocations: 2.573 MB / 2.946 GB, free: 130.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008359/6.31, allocations: 266.8 kB / 2.946 GB, free: 130.3 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/6.31, allocations: 96 kB / 2.946 GB, free: 130.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002079/6.312, allocations: 1.248 MB / 2.947 GB, free: 129 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/6.315, allocations: 1.507 MB / 2.949 GB, free: 127.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.984e-05/6.315, allocations: 3.938 kB / 2.949 GB, free: 127.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001271/6.315, allocations: 3.953 kB / 2.949 GB, free: 127.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-05/6.315, allocations: 64 kB / 2.949 GB, free: 127.3 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01071/6.326, allocations: 8.575 MB / 2.957 GB, free: 118.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/6.327, allocations: 0.8548 MB / 2.958 GB, free: 117.4 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004108/6.327, allocations: 346.3 kB / 2.958 GB, free: 117.1 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007585/6.328, allocations: 1.573 MB / 2.96 GB, free: 115.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/6.328, allocations: 42.56 kB / 2.96 GB, free: 115.1 MB / 1.167 GB Notification: Performance of pre-optimization done (n=78): time 4.148e-06/6.328, allocations: 0 / 2.96 GB, free: 115.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=78): time 0.005993/6.334, allocations: 1.604 MB / 2.961 GB, free: 113.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.863e-05/6.334, allocations: 93.06 kB / 2.961 GB, free: 113.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001903/6.336, allocations: 1.553 MB / 2.963 GB, free: 111.8 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001223/6.336, allocations: 29.7 kB / 2.963 GB, free: 111.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005662/6.337, allocations: 1.07 MB / 2.964 GB, free: 110.7 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002144/6.337, allocations: 264 kB / 2.964 GB, free: 110.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.055e-05/6.337, allocations: 3.938 kB / 2.964 GB, free: 110.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.909e-05/6.337, allocations: 345.9 kB / 2.965 GB, free: 110.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004671/6.338, allocations: 342.6 kB / 2.965 GB, free: 109.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006639/6.338, allocations: 0.7345 MB / 2.966 GB, free: 108.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/6.34, allocations: 494.8 kB / 2.966 GB, free: 108.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/6.34, allocations: 4 kB / 2.966 GB, free: 108.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002389/6.342, allocations: 1.361 MB / 2.967 GB, free: 107 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.821e-05/6.342, allocations: 9.562 kB / 2.967 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/6.342, allocations: 8 kB / 2.968 GB, free: 107 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002057/6.344, allocations: 0.8564 MB / 2.968 GB, free: 106.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008408/6.345, allocations: 234.3 kB / 2.969 GB, free: 105.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/6.347, allocations: 1.816 MB / 2.97 GB, free: 104 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/6.349, allocations: 354.8 kB / 2.971 GB, free: 103.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/6.35, allocations: 63.95 kB / 2.971 GB, free: 103.6 MB / 1.167 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_TEva.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: chi_y.QCon_flow:VARIABLE(unit = "W" ) "Actual heating heat flow rate added to fluid 1" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 83 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 19,2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0002523/6.35, allocations: 142.1 kB / 2.971 GB, free: 103.5 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005608/6.355, allocations: 1.617 MB / 2.972 GB, free: 101.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/6.356, allocations: 197.6 kB / 2.973 GB, free: 101.7 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004855/6.361, allocations: 1.638 MB / 2.974 GB, free: 100 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.6e-05/6.361, allocations: 15.98 kB / 2.974 GB, free: 99.99 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/6.361, allocations: 0 / 2.974 GB, free: 99.99 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/6.361, allocations: 3.984 kB / 2.974 GB, free: 99.98 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006347/6.367, allocations: 3.22 MB / 2.977 GB, free: 96.68 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/6.367, allocations: 4 kB / 2.977 GB, free: 96.68 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003358/6.367, allocations: 87.83 kB / 2.977 GB, free: 96.59 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001981/6.369, allocations: 0.8584 MB / 2.978 GB, free: 95.75 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.918e-05/6.37, allocations: 21.84 kB / 2.978 GB, free: 95.73 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002048/6.372, allocations: 1.834 MB / 2.98 GB, free: 93.85 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/6.372, allocations: 4 kB / 2.98 GB, free: 93.85 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004023/6.376, allocations: 1.885 MB / 2.982 GB, free: 91.8 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008744/6.377, allocations: 474.1 kB / 2.982 GB, free: 91.31 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002402/6.377, allocations: 4 kB / 2.982 GB, free: 91.31 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/6.378, allocations: 171.7 kB / 2.983 GB, free: 91.14 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/6.378, allocations: 59.81 kB / 2.983 GB, free: 91.08 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.4e-05/6.378, allocations: 43.95 kB / 2.983 GB, free: 91.04 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001598/6.38, allocations: 1.177 MB / 2.984 GB, free: 89.84 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.61e-07/6.38, allocations: 0 / 2.984 GB, free: 89.84 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002634/6.383, allocations: 0.8186 MB / 2.985 GB, free: 89.02 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 21,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005806/6.389, allocations: 4.449 MB / 2.989 GB, free: 84.59 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002194/6.391, allocations: 1.013 MB / 2.99 GB, free: 83.57 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/6.391, allocations: 0 / 2.99 GB, free: 83.57 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/6.392, allocations: 0.5657 MB / 2.991 GB, free: 83.01 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003678/6.396, allocations: 0.8246 MB / 2.991 GB, free: 82.2 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006142/6.402, allocations: 2.994 MB / 2.994 GB, free: 79.11 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000795/6.403, allocations: 1.53 MB / 2.996 GB, free: 77.55 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001445/6.404, allocations: 348.5 kB / 2.996 GB, free: 77.23 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008385/6.405, allocations: 0.8703 MB / 2.997 GB, free: 76.36 MB / 1.167 GB Notification: Performance of SimCode: time 8.12e-07/6.405, allocations: 0 / 2.997 GB, free: 76.36 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0865/6.492, allocations: 59.71 MB / 3.055 GB, free: 17.47 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001635/6.492, allocations: 187.7 kB / 3.055 GB, free: 17.27 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.988/10.48, allocations: 0 / 3.055 GB, free: 17.27 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat does not exist to compare? outputFormat=mat