Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 387.1 MB / 399.7 MB, free: 9.434 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.001067/0.001067, allocations: 172.9 kB / 492.3 MB, free: 0.625 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.387/1.387, allocations: 221.3 MB / 0.7871 GB, free: 12.9 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.0009517/0.0009516, allocations: 94.52 kB / 0.9267 GB, free: 13.97 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.83e-05/2.84e-05, allocations: 0 / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2493/0.2494, allocations: 142.3 MB / 1.212 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9293/1.179, allocations: 149.9 MB / 1.359 GB, free: 18.79 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002336/1.179, allocations: 87.64 kB / 1.359 GB, free: 18.79 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002968/1.182, allocations: 0.8734 MB / 1.36 GB, free: 34.44 MB / 0.8386 GB Notification: Performance of FrontEnd: time 3.165e-06/1.182, allocations: 0 / 1.36 GB, free: 34.44 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.764e-06/1.182, allocations: 7.938 kB / 1.36 GB, free: 34.43 MB / 0.8386 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.0003103/1.182, allocations: 329.2 kB / 1.36 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/1.182, allocations: 11.53 kB / 1.36 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.581e-05/1.182, allocations: 31.27 kB / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.571e-05/1.182, allocations: 4.688 kB / 1.36 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.389e-05/1.183, allocations: 176.2 kB / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/1.183, allocations: 0 / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/1.183, allocations: 0 / 1.36 GB, free: 33.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.581e-05/1.183, allocations: 43.81 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/1.183, allocations: 0 / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/1.183, allocations: 0 / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.978e-06/1.183, allocations: 0 / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/1.183, allocations: 16.33 kB / 1.36 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/1.183, allocations: 254.3 kB / 1.361 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.607e-05/1.183, allocations: 26.77 kB / 1.361 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.882e-05/1.183, allocations: 15.11 kB / 1.361 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/1.183, allocations: 3.75 kB / 1.361 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/1.183, allocations: 34.97 kB / 1.361 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/1.183, allocations: 3.938 kB / 1.361 GB, free: 33.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001707/1.183, allocations: 42.73 kB / 1.361 GB, free: 33.42 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/1.183, allocations: 51.97 kB / 1.361 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.598e-05/1.184, allocations: 108.4 kB / 1.361 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-06/1.184, allocations: 25.7 kB / 1.361 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.06e-05/1.184, allocations: 88.22 kB / 1.361 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.491e-05/1.184, allocations: 4.469 kB / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/1.184, allocations: 0 / 1.361 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.184, allocations: 315.4 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.578e-05/1.184, allocations: 5.484 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.292e-05/1.184, allocations: 7.672 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.088e-05/1.184, allocations: 8.516 kB / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/1.184, allocations: 0 / 1.361 GB, free: 32.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.626e-05/1.184, allocations: 46.48 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/1.184, allocations: 8.234 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/1.184, allocations: 0 / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/1.184, allocations: 0 / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.593e-05/1.184, allocations: 5.812 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/1.184, allocations: 0 / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.16e-05/1.184, allocations: 4.953 kB / 1.361 GB, free: 32.79 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/1.184, allocations: 7.953 kB / 1.361 GB, free: 32.78 MB / 0.8386 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.605e-05/1.184, allocations: 110.5 kB / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/1.184, allocations: 0 / 1.362 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.501e-05/1.184, allocations: 5.062 kB / 1.362 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/1.184, allocations: 1.312 kB / 1.362 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/1.184, allocations: 3.938 kB / 1.362 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.184, allocations: 0.5156 kB / 1.362 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/1.184, allocations: 158.1 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/1.184, allocations: 0 / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.363e-05/1.185, allocations: 13.48 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/1.185, allocations: 3.875 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/1.185, allocations: 0 / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/1.185, allocations: 0.7031 kB / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/1.185, allocations: 0 / 1.362 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/1.185, allocations: 141.3 kB / 1.362 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/1.185, allocations: 81.72 kB / 1.362 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/1.185, allocations: 8.766 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.739e-05/1.185, allocations: 8.203 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/1.185, allocations: 2.375 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/1.185, allocations: 3.844 kB / 1.362 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.207e-05/1.185, allocations: 80.42 kB / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.185, allocations: 0 / 1.362 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002467/1.185, allocations: 11.34 kB / 1.362 GB, free: 32.16 MB / 0.8386 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.0003564/1.186, allocations: 0.6753 MB / 1.363 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.303e-05/1.186, allocations: 15.78 kB / 1.363 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.186, allocations: 0 / 1.363 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.933e-05/1.186, allocations: 4.578 kB / 1.363 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/1.186, allocations: 7.312 kB / 1.363 GB, free: 31.49 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003332/1.186, allocations: 93.92 kB / 1.363 GB, free: 31.38 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002944/1.186, allocations: 0.682 MB / 1.363 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.508e-05/1.186, allocations: 7.922 kB / 1.363 GB, free: 30.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/1.187, allocations: 16.12 kB / 1.363 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of SimCode: time 2.31e-07/1.187, allocations: 0 / 1.363 GB, free: 30.67 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/1.198, allocations: 0.9696 MB / 1.364 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001621/1.199, allocations: 174.2 kB / 1.365 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/2.733, allocations: 7.938 kB / 1.365 GB, free: 30.32 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat --tempDir=temp_Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.fmu > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat does not exist to compare? outputFormat=mat