Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",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.41/2.41, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.0015/0.0015, allocations: 189.9 kB / 0.4902 GB, free: 2.215 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.719/1.719, allocations: 223.1 MB / 0.7992 GB, free: 14.65 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.001034/0.001034, allocations: 88.39 kB / 0.9396 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003613/0.0003613, allocations: 10.69 kB / 1.09 GB, free: 216.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2944, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.186/1.48, allocations: 438 MB / 1.657 GB, free: 7.719 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002904/1.481, allocations: 90.83 kB / 1.657 GB, free: 7.672 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.974/6.455, allocations: 1.31 GB / 2.967 GB, free: 178.2 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.625e-06/6.455, allocations: 0 / 2.967 GB, free: 178.2 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0006801/6.456, allocations: 65.34 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.01175/6.467, allocations: 3.104 MB / 2.97 GB, free: 176.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/6.467, allocations: 11.72 kB / 2.97 GB, free: 176.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001225/6.469, allocations: 223.1 kB / 2.97 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005585/6.474, allocations: 0.8819 MB / 2.971 GB, free: 176.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01031/6.485, allocations: 2.601 MB / 2.974 GB, free: 175.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001081/6.486, allocations: 325.6 kB / 2.974 GB, free: 175.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000802/6.487, allocations: 164.1 kB / 2.974 GB, free: 175.7 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006068/6.493, allocations: 1.968 MB / 2.976 GB, free: 175.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.279e-05/6.493, allocations: 3.797 kB / 2.976 GB, free: 175.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002128/6.493, allocations: 61.91 kB / 2.976 GB, free: 175.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.611e-05/6.493, allocations: 68.2 kB / 2.976 GB, free: 175.5 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004622/6.498, allocations: 1.863 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.01413/6.512, allocations: 8.798 MB / 2.987 GB, free: 171.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004109/6.516, allocations: 1.376 MB / 2.988 GB, free: 171.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009795/6.517, allocations: 1.731 MB / 2.99 GB, free: 169.3 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.386e-05/6.517, allocations: 41.88 kB / 2.99 GB, free: 169.3 MB / 1.167 GB Notification: Performance of pre-optimization done (n=79): time 3.526e-06/6.517, allocations: 2 kB / 2.99 GB, free: 169.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=79): time 0.02029/6.537, allocations: 4.408 MB / 2.994 GB, free: 168.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.553e-05/6.537, allocations: 88.88 kB / 2.994 GB, free: 168.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005215/6.543, allocations: 2.24 MB / 2.996 GB, free: 168 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004897/6.543, allocations: 45.33 kB / 2.996 GB, free: 168 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001122/6.544, allocations: 1.052 MB / 2.997 GB, free: 167.1 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004486/6.545, allocations: 278.5 kB / 2.998 GB, free: 166.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.938e-05/6.545, allocations: 15.88 kB / 2.998 GB, free: 166.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001104/6.545, allocations: 344.9 kB / 2.998 GB, free: 166.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001659/6.547, allocations: 0.5922 MB / 2.999 GB, free: 166.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/6.549, allocations: 1.021 MB / 3 GB, free: 165.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/6.55, allocations: 0.6478 MB / 3 GB, free: 165.5 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/6.55, allocations: 3.188 kB / 3 GB, free: 165.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.006662/6.557, allocations: 2.133 MB / 3.002 GB, free: 164.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/6.557, allocations: 9.844 kB / 3.002 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.183e-05/6.557, allocations: 13.55 kB / 3.002 GB, free: 164.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003379/6.561, allocations: 0.9559 MB / 3.003 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001021/6.562, allocations: 239.2 kB / 3.003 GB, free: 164.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003616/6.565, allocations: 2.015 MB / 3.005 GB, free: 163.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004411/6.57, allocations: 453.9 kB / 3.006 GB, free: 163 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002554/6.57, allocations: 59.28 kB / 3.006 GB, free: 163 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.00134/6.571, allocations: 473.6 kB / 3.006 GB, free: 162.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006927/6.572, allocations: 245 kB / 3.007 GB, free: 162.5 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006314/6.578, allocations: 2.081 MB / 3.009 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.898e-05/6.578, allocations: 15.31 kB / 3.009 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.248e-05/6.578, allocations: 7.953 kB / 3.009 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/6.578, allocations: 3.984 kB / 3.009 GB, free: 161.4 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008486/6.587, allocations: 3.768 MB / 3.012 GB, free: 158.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.617e-06/6.587, allocations: 4.875 kB / 3.012 GB, free: 158.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003549/6.587, allocations: 90.34 kB / 3.012 GB, free: 158.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002893/6.59, allocations: 0.9415 MB / 3.013 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.622e-05/6.59, allocations: 29.02 kB / 3.013 GB, free: 158.4 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003216/6.594, allocations: 2.031 MB / 3.015 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/6.594, allocations: 3.75 kB / 3.015 GB, free: 156.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006037/6.6, allocations: 2.342 MB / 3.018 GB, free: 155.3 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001944/6.602, allocations: 0.5157 MB / 3.018 GB, free: 154.9 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009422/6.603, allocations: 27.38 kB / 3.018 GB, free: 154.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002513/6.605, allocations: 193.3 kB / 3.018 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/6.605, allocations: 62.98 kB / 3.018 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/6.605, allocations: 39 kB / 3.018 GB, free: 154.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003637/6.609, allocations: 1.784 MB / 3.02 GB, free: 153.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.61e-07/6.609, allocations: 0 / 3.02 GB, free: 153.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.004059/6.613, allocations: 0.8036 MB / 3.021 GB, free: 153.6 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.008705/6.622, allocations: 4.856 MB / 3.026 GB, free: 150.2 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004357/6.626, allocations: 1.413 MB / 3.027 GB, free: 149.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.027e-05/6.626, allocations: 4.062 kB / 3.027 GB, free: 149.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/6.628, allocations: 0.7195 MB / 3.028 GB, free: 149.3 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007737/6.636, allocations: 1.277 MB / 3.029 GB, free: 148.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03518/6.671, allocations: 20.17 MB / 3.049 GB, free: 127.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/6.673, allocations: 1.533 MB / 3.05 GB, free: 125.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002524/6.675, allocations: 421.9 kB / 3.051 GB, free: 125.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00118/6.676, allocations: 0.8898 MB / 3.052 GB, free: 124.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.102e-06/6.676, allocations: 0 / 3.052 GB, free: 124.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1305/6.807, allocations: 81.2 MB / 3.131 GB, free: 45.12 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001506/6.807, allocations: 253.9 kB / 3.131 GB, free: 44.79 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.134/11.94, allocations: 4 kB / 3.131 GB, free: 44.78 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat does not exist to compare? outputFormat=mat