Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",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.423/2.423, allocations: 390.3 MB / 402.8 MB, free: 6.656 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.001643/0.001643, allocations: 180.8 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.672/1.672, allocations: 221.3 MB / 0.7915 GB, free: 5.367 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.001275/0.001275, allocations: 99.89 kB / 0.9317 GB, free: 5.672 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.206e-05/5.225e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3457/0.3458, allocations: 143 MB / 1.219 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.156/1.502, allocations: 150.7 MB / 1.366 GB, free: 3.355 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002947/1.503, allocations: 88.16 kB / 1.366 GB, free: 3.305 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00268/1.505, allocations: 0.8808 MB / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.452e-06/1.505, allocations: 0 / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.578e-06/1.505, allocations: 0 / 1.367 GB, free: 2.52 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000369/1.506, allocations: 326.6 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.134e-05/1.506, allocations: 8.031 kB / 1.367 GB, free: 2.148 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.017e-05/1.506, allocations: 33.5 kB / 1.367 GB, free: 2.109 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/1.506, allocations: 8.734 kB / 1.367 GB, free: 2.102 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/1.506, allocations: 176.5 kB / 1.367 GB, free: 1.891 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/1.506, allocations: 4 kB / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/1.506, allocations: 0 / 1.367 GB, free: 1.887 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001049/1.506, allocations: 33.27 kB / 1.368 GB, free: 1.852 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/1.506, allocations: 3.984 kB / 1.368 GB, free: 1.848 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/1.506, allocations: 4 kB / 1.368 GB, free: 1.844 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/1.506, allocations: 0 / 1.368 GB, free: 1.844 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.48e-05/1.506, allocations: 15.69 kB / 1.368 GB, free: 1.832 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004194/1.507, allocations: 250.6 kB / 1.368 GB, free: 1.547 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.865e-05/1.507, allocations: 29.98 kB / 1.368 GB, free: 1.512 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.025e-05/1.507, allocations: 19.91 kB / 1.368 GB, free: 1.492 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/1.507, allocations: 4 kB / 1.368 GB, free: 1.488 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/1.507, allocations: 34.5 kB / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.403e-06/1.507, allocations: 0 / 1.368 GB, free: 1.445 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001585/1.507, allocations: 36.58 kB / 1.368 GB, free: 1.406 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.812e-05/1.507, allocations: 56.23 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.416e-05/1.507, allocations: 101.1 kB / 1.368 GB, free: 1.238 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/1.507, allocations: 28.77 kB / 1.368 GB, free: 1.207 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 5.302e-05/1.507, allocations: 84.17 kB / 1.368 GB, free: 1.121 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 1.654e-05/1.507, allocations: 7.906 kB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.038e-06/1.507, allocations: 3.25 kB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001403/1.508, allocations: 314.8 kB / 1.368 GB, free: 0.7969 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/1.508, allocations: 7 kB / 1.368 GB, free: 0.793 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.319e-05/1.508, allocations: 9.906 kB / 1.368 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.136e-05/1.508, allocations: 3.188 kB / 1.368 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.508, allocations: 0 / 1.368 GB, free: 0.7852 MB / 0.823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.273e-05/1.508, allocations: 52.48 kB / 1.369 GB, free: 0.7305 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/1.508, allocations: 5.406 kB / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/1.508, allocations: 0 / 1.369 GB, free: 0.7266 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.84e-05/1.508, allocations: 7.984 kB / 1.369 GB, free: 0.7188 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.801e-05/1.508, allocations: 4 kB / 1.369 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/1.508, allocations: 0 / 1.369 GB, free: 0.7148 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.604e-05/1.508, allocations: 7.953 kB / 1.369 GB, free: 0.707 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/1.508, allocations: 0 / 1.369 GB, free: 0.707 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.725e-05/1.508, allocations: 105 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/1.508, allocations: 8.859 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.698e-05/1.508, allocations: 6.406 kB / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/1.508, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/1.508, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/1.508, allocations: 0 / 1.369 GB, free: 0.5898 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001761/1.508, allocations: 159.4 kB / 1.369 GB, free: 400 kB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.508, allocations: 7.938 kB / 1.369 GB, free: 392 kB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/1.508, allocations: 8.234 kB / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.508, allocations: 0 / 1.369 GB, free: 384 kB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.315e-06/1.508, allocations: 8 kB / 1.369 GB, free: 376 kB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/1.508, allocations: 3.938 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/1.508, allocations: 0 / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001378/1.509, allocations: 141.2 kB / 1.369 GB, free: 220 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.082e-05/1.509, allocations: 81.02 kB / 1.369 GB, free: 120 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/1.509, allocations: 4 kB / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.471e-05/1.509, allocations: 0 / 1.369 GB, free: 116 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.191e-05/1.509, allocations: 12.02 kB / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/1.509, allocations: 0 / 1.369 GB, free: 104 kB / 0.823 GB Notification: Performance of sorting global known variables: time 5.464e-05/1.509, allocations: 82.41 kB / 1.369 GB, free: 24 kB / 0.823 GB Notification: Performance of sort global known variables: time 2.01e-07/1.509, allocations: 0 / 1.369 GB, free: 24 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002015/1.509, allocations: 4 kB / 1.369 GB, free: 20 kB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004802/1.509, allocations: 0.6786 MB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.132e-05/1.51, allocations: 11.12 kB / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/1.51, allocations: 0 / 1.37 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.013e-05/1.51, allocations: 8 kB / 1.37 GB, free: 15.31 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000134/1.51, allocations: 4.625 kB / 1.37 GB, free: 15.3 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003419/1.51, allocations: 96.58 kB / 1.37 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/1.51, allocations: 0.681 MB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.392e-05/1.51, allocations: 8 kB / 1.371 GB, free: 14.46 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.7e-05/1.51, allocations: 14.69 kB / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of SimCode: time 3.31e-07/1.51, allocations: 0 / 1.371 GB, free: 14.45 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/1.523, allocations: 0.9648 MB / 1.372 GB, free: 13.66 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002325/1.524, allocations: 185.5 kB / 1.372 GB, free: 13.43 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.561/3.085, allocations: 0 / 1.372 GB, free: 13.43 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat does not exist to compare? outputFormat=mat