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.295/2.295, allocations: 393.5 MB / 408.4 MB, free: 11.01 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.001491/0.001491, allocations: 176 kB / 0.4901 GB, free: 2.234 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.661/1.661, allocations: 223.1 MB / 0.7992 GB, free: 14.69 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.001053/0.001053, allocations: 96.53 kB / 0.9396 GB, free: 1.875 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 6.875 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3171/0.3175, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.192/1.509, allocations: 438.1 MB / 1.657 GB, free: 7.566 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002983/1.51, allocations: 98.38 kB / 1.657 GB, free: 7.512 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.799/6.309, allocations: 1.31 GB / 2.967 GB, free: 178.1 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.382e-06/6.309, allocations: 1.562 kB / 2.967 GB, free: 178.1 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0004327/6.309, allocations: 64.73 kB / 2.967 GB, free: 178.1 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.01492/6.324, allocations: 3.123 MB / 2.97 GB, free: 176.4 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.55e-05/6.324, allocations: 8.781 kB / 2.97 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001502/6.326, allocations: 218.9 kB / 2.971 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005629/6.331, allocations: 0.892 MB / 2.971 GB, free: 176.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008915/6.34, allocations: 2.593 MB / 2.974 GB, free: 175.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001017/6.341, allocations: 325.5 kB / 2.974 GB, free: 175.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007072/6.342, allocations: 158.1 kB / 2.974 GB, free: 175.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005786/6.348, allocations: 1.976 MB / 2.976 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.136e-05/6.348, allocations: 0 / 2.976 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003296/6.348, allocations: 67.31 kB / 2.976 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.557e-05/6.348, allocations: 68.39 kB / 2.976 GB, free: 175.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005142/6.354, allocations: 1.864 MB / 2.978 GB, free: 175.4 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.0167/6.37, allocations: 8.825 MB / 2.987 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/6.375, allocations: 1.369 MB / 2.988 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001016/6.376, allocations: 1.727 MB / 2.99 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/6.376, allocations: 50.14 kB / 2.99 GB, free: 169.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 3.156e-06/6.376, allocations: 0 / 2.99 GB, free: 169.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.02119/6.397, allocations: 4.411 MB / 2.994 GB, free: 168.8 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.627e-05/6.397, allocations: 91.28 kB / 2.994 GB, free: 168.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005903/6.403, allocations: 2.27 MB / 2.997 GB, free: 167.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0003857/6.404, allocations: 45.45 kB / 2.997 GB, free: 167.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001262/6.405, allocations: 1.056 MB / 2.998 GB, free: 167 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005048/6.405, allocations: 278 kB / 2.998 GB, free: 166.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/6.406, allocations: 19.84 kB / 2.998 GB, free: 166.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.000112/6.406, allocations: 339.7 kB / 2.998 GB, free: 166.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001802/6.408, allocations: 0.5868 MB / 2.999 GB, free: 166.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002093/6.41, allocations: 1.028 MB / 3 GB, free: 165.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001889/6.412, allocations: 0.6526 MB / 3 GB, free: 165.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.247e-05/6.412, allocations: 3.875 kB / 3 GB, free: 165.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006932/6.419, allocations: 2.141 MB / 3.003 GB, free: 164.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/6.419, allocations: 10.66 kB / 3.003 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.268e-05/6.419, allocations: 5.969 kB / 3.003 GB, free: 164.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003699/6.422, allocations: 1.065 MB / 3.004 GB, free: 164.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001072/6.423, allocations: 235.9 kB / 3.004 GB, free: 164.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003443/6.427, allocations: 2.03 MB / 3.006 GB, free: 162.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003862/6.431, allocations: 456.3 kB / 3.006 GB, free: 162.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003551/6.431, allocations: 70.47 kB / 3.006 GB, free: 162.7 MB / 1.167 GB 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 () * Number of clocked 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.001621/6.433, allocations: 462.1 kB / 3.007 GB, free: 162.3 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000933/6.434, allocations: 248.1 kB / 3.007 GB, free: 162.2 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007283/6.441, allocations: 2.084 MB / 3.009 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.728e-05/6.441, allocations: 11.59 kB / 3.009 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.818e-05/6.441, allocations: 7.516 kB / 3.009 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.659e-05/6.441, allocations: 3.984 kB / 3.009 GB, free: 161.1 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/6.452, allocations: 3.792 MB / 3.013 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.282e-05/6.452, allocations: 3.875 kB / 3.013 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003992/6.452, allocations: 84.89 kB / 3.013 GB, free: 158.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003607/6.456, allocations: 1.063 MB / 3.014 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001322/6.456, allocations: 26.86 kB / 3.014 GB, free: 158.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/6.459, allocations: 2.038 MB / 3.016 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/6.459, allocations: 6.594 kB / 3.016 GB, free: 156.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006206/6.466, allocations: 2.339 MB / 3.018 GB, free: 155 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001966/6.468, allocations: 0.5197 MB / 3.019 GB, free: 154.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/6.469, allocations: 31.66 kB / 3.019 GB, free: 154.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002698/6.471, allocations: 193.2 kB / 3.019 GB, free: 154.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/6.472, allocations: 54.73 kB / 3.019 GB, free: 154.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001517/6.472, allocations: 48.72 kB / 3.019 GB, free: 154.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.004567/6.476, allocations: 1.805 MB / 3.021 GB, free: 153.4 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.502e-06/6.476, allocations: 0 / 3.021 GB, free: 153.4 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004601/6.481, allocations: 0.8166 MB / 3.022 GB, free: 153.2 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 () * Number of clocked 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.009689/6.491, allocations: 4.853 MB / 3.026 GB, free: 149.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004654/6.495, allocations: 1.429 MB / 3.028 GB, free: 149.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.062e-05/6.495, allocations: 0 / 3.028 GB, free: 149.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002225/6.498, allocations: 0.7144 MB / 3.028 GB, free: 148.9 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007286/6.505, allocations: 1.28 MB / 3.03 GB, free: 148.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03865/6.544, allocations: 20.3 MB / 3.05 GB, free: 126.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/6.545, allocations: 1.533 MB / 3.051 GB, free: 124.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002648/6.548, allocations: 420.5 kB / 3.051 GB, free: 124.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001479/6.549, allocations: 0.8976 MB / 3.052 GB, free: 123.7 MB / 1.167 GB Notification: Performance of SimCode: time 1.343e-06/6.549, allocations: 0 / 3.052 GB, free: 123.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1551/6.704, allocations: 81.52 MB / 3.132 GB, free: 44.08 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002489/6.705, allocations: 264.5 kB / 3.132 GB, free: 43.71 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.926/11.63, allocations: 0 / 3.132 GB, free: 43.71 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