Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower",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.451/2.451, allocations: 387.1 MB / 399.7 MB, free: 9.516 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.001167/0.001167, allocations: 168.5 kB / 492.3 MB, free: 0.6406 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.685/1.685, allocations: 221.3 MB / 0.7872 GB, free: 12.91 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.0009525/0.0009524, allocations: 91.89 kB / 0.9267 GB, free: 13.98 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.287e-05/4.289e-05, allocations: 7.984 kB / 1.074 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3494, allocations: 142.3 MB / 1.213 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.165/1.515, allocations: 150.8 MB / 1.36 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002859/1.515, allocations: 92.94 kB / 1.36 GB, free: 19.15 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01099/1.526, allocations: 3.572 MB / 1.363 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.324e-06/1.526, allocations: 0 / 1.363 GB, free: 34.68 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.816e-06/1.526, allocations: 0 / 1.363 GB, free: 34.68 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003939/1.527, allocations: 377.2 kB / 1.364 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.527, allocations: 7.812 kB / 1.364 GB, free: 34.3 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.239e-05/1.527, allocations: 30.56 kB / 1.364 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/1.527, allocations: 3.844 kB / 1.364 GB, free: 34.26 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001014/1.527, allocations: 174.7 kB / 1.364 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.187e-05/1.527, allocations: 3.875 kB / 1.364 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/1.527, allocations: 3.75 kB / 1.364 GB, free: 34.05 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001163/1.527, allocations: 50.69 kB / 1.364 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.765e-06/1.527, allocations: 0 / 1.364 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-06/1.527, allocations: 0 / 1.364 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/1.527, allocations: 0 / 1.364 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.516e-05/1.527, allocations: 39.61 kB / 1.364 GB, free: 34.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001621/1.527, allocations: 179.6 kB / 1.364 GB, free: 33.82 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.307e-05/1.527, allocations: 46.61 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.416e-05/1.527, allocations: 26.17 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/1.527, allocations: 10.48 kB / 1.364 GB, free: 33.79 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/1.527, allocations: 34.44 kB / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/1.527, allocations: 0 / 1.364 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001503/1.528, allocations: 76.91 kB / 1.364 GB, free: 33.71 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/1.528, allocations: 51.41 kB / 1.364 GB, free: 33.64 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/1.528, allocations: 126 kB / 1.365 GB, free: 33.55 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/1.528, allocations: 33.55 kB / 1.365 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.051e-05/1.528, allocations: 87.7 kB / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/1.528, allocations: 6.766 kB / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-06/1.528, allocations: 0 / 1.365 GB, free: 33.43 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.069e-05/1.528, allocations: 318 kB / 1.365 GB, free: 33.12 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.202e-05/1.528, allocations: 40.53 kB / 1.365 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.96e-05/1.528, allocations: 37.64 kB / 1.365 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.918e-05/1.528, allocations: 43.23 kB / 1.365 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.528, allocations: 0 / 1.365 GB, free: 33.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001411/1.528, allocations: 132.6 kB / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/1.528, allocations: 4.844 kB / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.528, allocations: 0 / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/1.528, allocations: 0 / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.273e-05/1.528, allocations: 6.719 kB / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.528, allocations: 0 / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.957e-05/1.528, allocations: 3.969 kB / 1.365 GB, free: 33.07 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/1.528, allocations: 3.938 kB / 1.365 GB, free: 33.07 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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 5.58e-05/1.528, allocations: 108.9 kB / 1.365 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.016e-05/1.528, allocations: 11.72 kB / 1.365 GB, free: 32.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/1.529, allocations: 82.84 kB / 1.365 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/1.529, allocations: 3.688 kB / 1.365 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/1.529, allocations: 0 / 1.365 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/1.529, allocations: 0 / 1.365 GB, free: 32.9 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.747e-05/1.529, allocations: 166 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/1.529, allocations: 4.047 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.951e-05/1.529, allocations: 10.64 kB / 1.366 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/1.529, allocations: 3.984 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-06/1.529, allocations: 2.938 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/1.529, allocations: 4.031 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/1.529, allocations: 4.438 kB / 1.366 GB, free: 32.7 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.22e-05/1.529, allocations: 90.59 kB / 1.366 GB, free: 32.63 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/1.529, allocations: 84.97 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/1.529, allocations: 2.859 kB / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.175e-05/1.529, allocations: 0 / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.76e-05/1.529, allocations: 0 / 1.366 GB, free: 32.54 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.031e-06/1.529, allocations: 7.844 kB / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.728e-05/1.529, allocations: 110.2 kB / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.529, allocations: 0 / 1.366 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003431/1.529, allocations: 77.12 kB / 1.366 GB, free: 32.43 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.0005625/1.53, allocations: 0.716 MB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000124/1.53, allocations: 65.11 kB / 1.367 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.53, allocations: 0 / 1.367 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.901e-05/1.53, allocations: 14.81 kB / 1.367 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/1.53, allocations: 28.72 kB / 1.367 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004071/1.531, allocations: 177.8 kB / 1.367 GB, free: 31.67 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/1.531, allocations: 0.6904 MB / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.494e-05/1.531, allocations: 4.969 kB / 1.368 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.866e-05/1.531, allocations: 21.56 kB / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.531, allocations: 0 / 1.368 GB, free: 30.96 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01409/1.545, allocations: 3.157 MB / 1.371 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001763/1.546, allocations: 209.3 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/3.35, allocations: 11.38 kB / 1.371 GB, free: 30.5 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat does not exist to compare? outputFormat=mat