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.001128/0.001128, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001277/0.001277, allocations: 177.3 kB / 15.94 MB, free: 228 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.553/1.553, allocations: 223.2 MB / 239.9 MB, free: 5.312 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.48/2.48, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003375, allocations: 16 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7677, allocations: 142.3 MB / 0.9536 GB, free: 8.062 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1243/0.8921, allocations: 110.7 MB / 1.062 GB, free: 1.199 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03103/0.9231, allocations: 19.95 MB / 1.081 GB, free: 13.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004063/0.9272, allocations: 103.2 kB / 1.081 GB, free: 13.11 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.004933/0.9322, allocations: 1.364 MB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01373/0.9459, allocations: 4.194 MB / 1.087 GB, free: 7.531 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007797/0.9538, allocations: 2.568 MB / 1.089 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.008913/0.9627, allocations: 3.931 MB / 1.093 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003552/0.9663, allocations: 1.725 MB / 1.095 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005245/0.9715, allocations: 2.016 MB / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002522/0.9741, allocations: 1.256 MB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0003828/0.9745, allocations: 92 kB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004257/0.9788, allocations: 1.326 MB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005758/0.9794, allocations: 406.2 kB / 1.1 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/0.9804, allocations: 0.5511 MB / 1.1 GB, free: 9.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004743/0.9852, allocations: 3.121 MB / 1.103 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.9852, allocations: 0 / 1.103 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.9852, allocations: 0 / 1.103 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.656e-05/0.9853, allocations: 4 kB / 1.103 GB, free: 6.527 MB / 0.8575 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.005321/0.9906, allocations: 2.705 MB / 1.106 GB, free: 3.738 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.9907, allocations: 8.031 kB / 1.106 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003537/0.991, allocations: 219.8 kB / 1.106 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004773/0.9958, allocations: 0.9528 MB / 1.107 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006665/1.003, allocations: 2.075 MB / 1.109 GB, free: 408 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001569/1.004, allocations: 322.8 kB / 1.109 GB, free: 84 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000582/1.005, allocations: 164 kB / 1.11 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006839/1.012, allocations: 1.958 MB / 1.111 GB, free: 13.9 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.269e-05/1.012, allocations: 4 kB / 1.111 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002399/1.012, allocations: 60 kB / 1.112 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.652e-05/1.012, allocations: 44 kB / 1.112 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007737/1.02, allocations: 1.901 MB / 1.113 GB, free: 11.89 MB / 0.8731 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.02086/1.041, allocations: 9.184 MB / 1.122 GB, free: 2.105 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006912/1.048, allocations: 1.331 MB / 1.124 GB, free: 0.7578 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001229/1.049, allocations: 1.719 MB / 1.125 GB, free: 14.65 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/1.049, allocations: 42.56 kB / 1.125 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=76): time 3.897e-06/1.049, allocations: 0 / 1.125 GB, free: 14.6 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.008943/1.058, allocations: 2.489 MB / 1.128 GB, free: 12.06 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/1.058, allocations: 85.11 kB / 1.128 GB, free: 11.96 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004679/1.063, allocations: 2.579 MB / 1.13 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001932/1.063, allocations: 45.7 kB / 1.13 GB, free: 9.309 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009733/1.064, allocations: 1.046 MB / 1.131 GB, free: 8.254 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/1.064, allocations: 268.2 kB / 1.132 GB, free: 7.988 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.064, allocations: 24 kB / 1.132 GB, free: 7.965 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001576/1.064, allocations: 349.9 kB / 1.132 GB, free: 7.617 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001948/1.066, allocations: 0.6272 MB / 1.133 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/1.069, allocations: 1.005 MB / 1.134 GB, free: 5.836 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/1.071, allocations: 0.6816 MB / 1.134 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.071, allocations: 8 kB / 1.134 GB, free: 5.148 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005674/1.076, allocations: 1.958 MB / 1.136 GB, free: 3.172 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.86e-05/1.076, allocations: 8 kB / 1.136 GB, free: 3.164 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/1.076, allocations: 8 kB / 1.136 GB, free: 3.156 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/1.078, allocations: 0.5034 MB / 1.137 GB, free: 2.648 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/1.08, allocations: 303.5 kB / 1.137 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002358/1.082, allocations: 1.565 MB / 1.139 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003834/1.086, allocations: 488.1 kB / 1.139 GB, free: 264 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003394/1.086, allocations: 67.95 kB / 1.139 GB, free: 196 kB / 0.8887 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.001502/1.088, allocations: 461.5 kB / 1.14 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009877/1.089, allocations: 248.9 kB / 1.14 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004474/1.093, allocations: 1.552 MB / 1.141 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.469e-05/1.093, allocations: 16 kB / 1.141 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.848e-06/1.093, allocations: 0 / 1.141 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/1.093, allocations: 7.938 kB / 1.141 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009082/1.103, allocations: 3.732 MB / 1.145 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.932e-05/1.103, allocations: 4 kB / 1.145 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006844/1.103, allocations: 140.1 kB / 1.145 GB, free: 9.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/1.105, allocations: 0.4985 MB / 1.146 GB, free: 9.406 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001138/1.105, allocations: 27.97 kB / 1.146 GB, free: 9.379 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002847/1.108, allocations: 1.645 MB / 1.147 GB, free: 7.684 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/1.108, allocations: 4 kB / 1.147 GB, free: 7.68 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007181/1.115, allocations: 2.343 MB / 1.15 GB, free: 5.148 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001862/1.117, allocations: 0.5288 MB / 1.15 GB, free: 4.598 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008535/1.118, allocations: 20 kB / 1.15 GB, free: 4.578 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003152/1.121, allocations: 195.7 kB / 1.15 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001534/1.122, allocations: 59.88 kB / 1.15 GB, free: 4.328 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001662/1.122, allocations: 43.91 kB / 1.15 GB, free: 4.285 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0062/1.128, allocations: 1.812 MB / 1.152 GB, free: 2.469 MB / 0.9044 GB Notification: Performance of sort global known variables: time 6.31e-07/1.128, allocations: 8 kB / 1.152 GB, free: 2.461 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.005016/1.133, allocations: 0.6906 MB / 1.153 GB, free: 1.77 MB / 0.9044 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.01246/1.146, allocations: 4.189 MB / 1.157 GB, free: 13.47 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.006897/1.152, allocations: 1.428 MB / 1.158 GB, free: 12.05 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/1.152, allocations: 4.062 kB / 1.158 GB, free: 12.04 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.003674/1.156, allocations: 0.7256 MB / 1.159 GB, free: 11.32 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009266/1.165, allocations: 1.253 MB / 1.16 GB, free: 10.08 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.019/1.185, allocations: 10.88 MB / 1.171 GB, free: 14.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001211/1.186, allocations: 1.536 MB / 1.172 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002317/1.188, allocations: 435 kB / 1.173 GB, free: 12.77 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001227/1.189, allocations: 0.8976 MB / 1.174 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of SimCode: time 2.384e-06/1.189, allocations: 0 / 1.174 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1094/1.299, allocations: 68.13 MB / 1.24 GB, free: 8.488 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.299, allocations: 264.6 kB / 1.24 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.679/4.978, allocations: 0 / 1.24 GB, free: 8.141 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