Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 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.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.0009379/0.0009379, allocations: 84.38 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001008/0.001008, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.2 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.442/2.442, allocations: 390.4 MB / 0.6655 GB, free: 2.898 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003386/0.0003387, allocations: 19.92 kB / 0.8149 GB, free: 14.08 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7178/0.7182, allocations: 142.3 MB / 0.9538 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1419/0.8602, allocations: 122.2 MB / 1.073 GB, free: 5.609 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03805/0.8983, allocations: 21.78 MB / 1.094 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005571/0.9039, allocations: 111.2 kB / 1.095 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004666/0.9086, allocations: 0.9973 MB / 1.096 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01286/0.9215, allocations: 3.162 MB / 1.099 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005741/0.9273, allocations: 1.528 MB / 1.1 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01203/0.9393, allocations: 7.198 MB / 1.107 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005605/0.945, allocations: 1.667 MB / 1.109 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007132/0.9522, allocations: 2.146 MB / 1.111 GB, free: 14.91 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004645/0.9568, allocations: 1.691 MB / 1.113 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009903/0.9579, allocations: 96 kB / 1.113 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005878/0.9638, allocations: 1.216 MB / 1.114 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001168/0.965, allocations: 421.8 kB / 1.114 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001699/0.9667, allocations: 0.5511 MB / 1.115 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.005553/0.9723, allocations: 3.137 MB / 1.118 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.9723, allocations: 0 / 1.118 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of FrontEnd: time 3.446e-06/0.9723, allocations: 0 / 1.118 GB, free: 7.777 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 9.92e-05/0.9724, allocations: 0 / 1.118 GB, free: 7.777 MB / 0.8731 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.005656/0.9781, allocations: 2.705 MB / 1.12 GB, free: 4.988 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.9782, allocations: 8.031 kB / 1.12 GB, free: 4.98 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004154/0.9786, allocations: 219.8 kB / 1.121 GB, free: 4.754 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004173/0.9828, allocations: 0.9567 MB / 1.122 GB, free: 3.793 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004765/0.9875, allocations: 2.192 MB / 1.124 GB, free: 1.527 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000893/0.9885, allocations: 322.8 kB / 1.124 GB, free: 1.211 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003521/0.9888, allocations: 167.9 kB / 1.124 GB, free: 1.047 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/0.993, allocations: 1.966 MB / 1.126 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.9931, allocations: 0 / 1.126 GB, free: 15.01 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.9932, allocations: 67.94 kB / 1.126 GB, free: 14.95 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/0.9933, allocations: 36 kB / 1.126 GB, free: 14.91 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004697/0.998, allocations: 1.913 MB / 1.128 GB, free: 13 MB / 0.8887 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.01466/1.013, allocations: 9.086 MB / 1.137 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/1.017, allocations: 1.297 MB / 1.138 GB, free: 2.004 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00103/1.018, allocations: 485.3 kB / 1.139 GB, free: 1.523 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/1.019, allocations: 1.723 MB / 1.14 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.019, allocations: 42.56 kB / 1.14 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 3.467e-06/1.019, allocations: 3.938 kB / 1.14 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008543/1.028, allocations: 2.5 MB / 1.143 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.065e-05/1.028, allocations: 89.05 kB / 1.143 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004686/1.033, allocations: 2.513 MB / 1.145 GB, free: 10.17 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002582/1.033, allocations: 49.7 kB / 1.145 GB, free: 10.11 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009769/1.034, allocations: 1.05 MB / 1.146 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003355/1.034, allocations: 268.2 kB / 1.147 GB, free: 8.789 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/1.034, allocations: 24 kB / 1.147 GB, free: 8.766 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.034, allocations: 345.9 kB / 1.147 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/1.036, allocations: 0.6271 MB / 1.148 GB, free: 7.793 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002017/1.038, allocations: 1.009 MB / 1.149 GB, free: 6.637 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/1.04, allocations: 0.6856 MB / 1.149 GB, free: 5.953 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.586e-06/1.04, allocations: 7.938 kB / 1.149 GB, free: 5.945 MB / 0.9044 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005565/1.045, allocations: 1.966 MB / 1.151 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 3.882e-05/1.046, allocations: 9.875 kB / 1.151 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.046, allocations: 8 kB / 1.151 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001879/1.047, allocations: 0.5014 MB / 1.152 GB, free: 3.438 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001207/1.049, allocations: 307.5 kB / 1.152 GB, free: 3.137 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002134/1.051, allocations: 1.564 MB / 1.154 GB, free: 1.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003419/1.054, allocations: 480.1 kB / 1.154 GB, free: 1.055 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001852/1.054, allocations: 59.95 kB / 1.154 GB, free: 0.9961 MB / 0.9044 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 (111): * Single equations (assignments): 109 * 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 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001005/1.055, allocations: 473.4 kB / 1.155 GB, free: 0.5234 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004807/1.056, allocations: 241 kB / 1.155 GB, free: 292 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003583/1.06, allocations: 1.548 MB / 1.156 GB, free: 14.72 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/1.06, allocations: 11.98 kB / 1.156 GB, free: 14.71 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.06, allocations: 7.953 kB / 1.156 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/1.06, allocations: 3.984 kB / 1.156 GB, free: 14.7 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007426/1.067, allocations: 3.693 MB / 1.16 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-05/1.067, allocations: 7.938 kB / 1.16 GB, free: 10.89 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/1.068, allocations: 136.2 kB / 1.16 GB, free: 10.75 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/1.069, allocations: 0.4971 MB / 1.161 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/1.069, allocations: 27.97 kB / 1.161 GB, free: 10.22 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002421/1.072, allocations: 1.637 MB / 1.162 GB, free: 8.535 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.097e-05/1.072, allocations: 7.938 kB / 1.162 GB, free: 8.527 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005689/1.078, allocations: 2.089 MB / 1.164 GB, free: 6.367 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001501/1.079, allocations: 0.5053 MB / 1.165 GB, free: 5.84 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/1.08, allocations: 23.98 kB / 1.165 GB, free: 5.816 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001763/1.081, allocations: 199.6 kB / 1.165 GB, free: 5.621 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001013/1.081, allocations: 59.83 kB / 1.165 GB, free: 5.562 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/1.082, allocations: 43.95 kB / 1.165 GB, free: 5.52 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.003297/1.085, allocations: 1.766 MB / 1.167 GB, free: 3.75 MB / 0.92 GB Notification: Performance of sort global known variables: time 3.81e-07/1.085, allocations: 0 / 1.167 GB, free: 3.75 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002567/1.087, allocations: 0.675 MB / 1.167 GB, free: 3.074 MB / 0.92 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 (62): * Single equations (assignments): 52 * 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 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007564/1.095, allocations: 3.1 MB / 1.17 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004109/1.099, allocations: 1.428 MB / 1.172 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 8.566e-06/1.099, allocations: 4 kB / 1.172 GB, free: 14.48 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002203/1.101, allocations: 0.7296 MB / 1.173 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006759/1.108, allocations: 1.268 MB / 1.174 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03524/1.143, allocations: 15.07 MB / 1.189 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/1.145, allocations: 1.494 MB / 1.19 GB, free: 10.59 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.00241/1.147, allocations: 439 kB / 1.19 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001228/1.148, allocations: 0.9014 MB / 1.191 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of SimCode: time 2.394e-06/1.148, allocations: 0 / 1.191 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.627/1.775, allocations: 68.66 MB / 1.258 GB, free: 276.2 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001903/1.776, allocations: 263.8 kB / 1.259 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.669/5.445, allocations: 5.031 kB / 1.259 GB, free: 275.8 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat does not exist to compare? outputFormat=mat