Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.001208/0.001208, allocations: 99.47 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.001294/0.001294, 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.467/1.467, allocations: 223.2 MB / 239.9 MB, free: 5.328 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.472/2.472, allocations: 390.3 MB / 0.6653 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003671/0.0003671, allocations: 8 kB / 0.8146 GB, free: 14.19 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7658/0.7662, allocations: 142.3 MB / 0.9536 GB, free: 8.137 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.112/0.8782, allocations: 110.7 MB / 1.062 GB, free: 1.246 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0306/0.9089, allocations: 19.94 MB / 1.081 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004973/0.9139, allocations: 107.2 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005271/0.9192, allocations: 1.356 MB / 1.083 GB, free: 11.79 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01606/0.9353, allocations: 4.19 MB / 1.087 GB, free: 7.594 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008411/0.9437, allocations: 2.583 MB / 1.089 GB, free: 5.062 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00843/0.9522, allocations: 3.911 MB / 1.093 GB, free: 1.148 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00343/0.9556, allocations: 1.722 MB / 1.095 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004882/0.9605, allocations: 2.016 MB / 1.097 GB, free: 13.37 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002645/0.9632, allocations: 1.256 MB / 1.098 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0004279/0.9637, allocations: 88 kB / 1.098 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004191/0.9679, allocations: 1.33 MB / 1.099 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0005686/0.9684, allocations: 410.2 kB / 1.1 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0009426/0.9694, allocations: 0.555 MB / 1.1 GB, free: 9.723 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004753/0.9742, allocations: 3.109 MB / 1.103 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.9742, allocations: 0 / 1.103 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.915e-06/0.9742, allocations: 0 / 1.103 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.543e-05/0.9743, allocations: 0 / 1.103 GB, free: 6.605 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.00559/0.9799, allocations: 2.705 MB / 1.106 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.98, allocations: 8.031 kB / 1.106 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003875/0.9804, allocations: 219.8 kB / 1.106 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004624/0.985, allocations: 0.9529 MB / 1.107 GB, free: 2.625 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004492/0.9895, allocations: 2.09 MB / 1.109 GB, free: 472 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009733/0.9905, allocations: 330.8 kB / 1.109 GB, free: 140 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003502/0.9909, allocations: 160 kB / 1.11 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004126/0.995, allocations: 1.962 MB / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.717e-05/0.995, allocations: 4 kB / 1.111 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.9952, allocations: 60 kB / 1.111 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.439e-05/0.9952, allocations: 40 kB / 1.112 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004756/1, allocations: 1.885 MB / 1.113 GB, free: 11.96 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.01451/1.015, allocations: 9.175 MB / 1.122 GB, free: 2.191 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004409/1.019, allocations: 1.315 MB / 1.124 GB, free: 0.8594 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/1.02, allocations: 1.719 MB / 1.125 GB, free: 14.75 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/1.02, allocations: 46.56 kB / 1.125 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=76): time 4.538e-06/1.02, allocations: 0 / 1.125 GB, free: 14.7 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.008633/1.029, allocations: 2.485 MB / 1.128 GB, free: 12.16 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.042e-05/1.029, allocations: 89.11 kB / 1.128 GB, free: 12.05 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004161/1.033, allocations: 2.547 MB / 1.13 GB, free: 9.488 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002418/1.033, allocations: 45.7 kB / 1.13 GB, free: 9.438 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008712/1.034, allocations: 1.041 MB / 1.131 GB, free: 8.387 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002777/1.035, allocations: 272.2 kB / 1.132 GB, free: 8.117 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/1.035, allocations: 28 kB / 1.132 GB, free: 8.09 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001337/1.035, allocations: 349.9 kB / 1.132 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001803/1.037, allocations: 0.6271 MB / 1.133 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002042/1.039, allocations: 1.001 MB / 1.134 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001824/1.04, allocations: 0.6855 MB / 1.134 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/1.04, allocations: 0 / 1.134 GB, free: 5.281 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005353/1.046, allocations: 1.963 MB / 1.136 GB, free: 3.301 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/1.046, allocations: 12.09 kB / 1.136 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/1.046, allocations: 8 kB / 1.136 GB, free: 3.281 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/1.048, allocations: 437.2 kB / 1.137 GB, free: 2.848 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001278/1.049, allocations: 307.5 kB / 1.137 GB, free: 2.547 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/1.051, allocations: 1.538 MB / 1.138 GB, free: 0.957 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003297/1.054, allocations: 492 kB / 1.139 GB, free: 488 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001711/1.055, allocations: 59.95 kB / 1.139 GB, free: 428 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 (112): * Single equations (assignments): 110 * 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 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001137/1.056, allocations: 465.5 kB / 1.139 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005629/1.056, allocations: 245 kB / 1.14 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003672/1.06, allocations: 1.548 MB / 1.141 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/1.06, allocations: 12 kB / 1.141 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/1.06, allocations: 4 kB / 1.141 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/1.06, allocations: 7.938 kB / 1.141 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007681/1.068, allocations: 3.716 MB / 1.145 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.068, allocations: 4 kB / 1.145 GB, free: 10.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000649/1.068, allocations: 144.1 kB / 1.145 GB, free: 10.15 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001508/1.07, allocations: 435.6 kB / 1.145 GB, free: 9.719 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.406e-05/1.07, allocations: 27.98 kB / 1.145 GB, free: 9.691 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/1.073, allocations: 1.629 MB / 1.147 GB, free: 8.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.073, allocations: 4.094 kB / 1.147 GB, free: 8.008 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005938/1.078, allocations: 2.35 MB / 1.149 GB, free: 5.469 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.08, allocations: 0.5171 MB / 1.15 GB, free: 4.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003076/1.08, allocations: 20 kB / 1.15 GB, free: 4.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001719/1.082, allocations: 195.7 kB / 1.15 GB, free: 4.719 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.237e-05/1.082, allocations: 63.81 kB / 1.15 GB, free: 4.656 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.399e-05/1.082, allocations: 39.97 kB / 1.15 GB, free: 4.617 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002949/1.085, allocations: 1.793 MB / 1.152 GB, free: 2.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.6e-07/1.085, allocations: 4 kB / 1.152 GB, free: 2.816 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00205/1.087, allocations: 0.6944 MB / 1.153 GB, free: 2.121 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 (63): * Single equations (assignments): 53 * 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 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007691/1.095, allocations: 4.187 MB / 1.157 GB, free: 13.82 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.004153/1.099, allocations: 1.421 MB / 1.158 GB, free: 12.41 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/1.099, allocations: 0 / 1.158 GB, free: 12.41 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.00231/1.101, allocations: 0.7197 MB / 1.159 GB, free: 11.69 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006158/1.107, allocations: 1.247 MB / 1.16 GB, free: 10.45 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0102/1.118, allocations: 10.84 MB / 1.17 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000968/1.119, allocations: 1.533 MB / 1.172 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.002037/1.121, allocations: 440.4 kB / 1.172 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001121/1.122, allocations: 0.8937 MB / 1.173 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of SimCode: time 6.02e-07/1.122, allocations: 4 kB / 1.173 GB, free: 12.29 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1291/1.251, allocations: 67.84 MB / 1.24 GB, free: 9.191 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002657/1.251, allocations: 249.9 kB / 1.24 GB, free: 8.859 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.495/4.746, allocations: 3.938 kB / 1.24 GB, free: 8.855 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat does not exist to compare? outputFormat=mat