Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.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.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower,fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 2.331/2.331, 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.001341/0.001341, allocations: 187.6 kB / 496.1 MB, free: 12.86 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.77/1.77, allocations: 221.3 MB / 0.7915 GB, free: 5.402 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.001027/0.001027, allocations: 103.8 kB / 0.9318 GB, free: 5.719 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.014e-05/5.033e-05, allocations: 8 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3913, allocations: 143 MB / 1.219 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.182/1.573, allocations: 151.6 MB / 1.367 GB, free: 2.445 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/1.574, allocations: 96.22 kB / 1.367 GB, free: 2.387 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01303/1.587, allocations: 3.562 MB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 4.608e-06/1.587, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.491e-05/1.587, allocations: 4 kB / 1.37 GB, free: 15.25 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.0007419/1.588, allocations: 374.4 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.471e-05/1.588, allocations: 8.031 kB / 1.371 GB, free: 14.84 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.564e-05/1.588, allocations: 35.19 kB / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/1.588, allocations: 0 / 1.371 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002638/1.588, allocations: 178.9 kB / 1.371 GB, free: 14.58 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.114e-05/1.588, allocations: 4 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.286e-05/1.588, allocations: 4 kB / 1.371 GB, free: 14.57 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002035/1.589, allocations: 48.88 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/1.589, allocations: 3.938 kB / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/1.589, allocations: 0 / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.835e-06/1.589, allocations: 0 / 1.371 GB, free: 14.52 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.319e-05/1.589, allocations: 35.28 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003315/1.589, allocations: 180 kB / 1.371 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000126/1.589, allocations: 54.3 kB / 1.371 GB, free: 14.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.369e-05/1.589, allocations: 24.09 kB / 1.371 GB, free: 14.19 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.739e-05/1.589, allocations: 4 kB / 1.371 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.349e-05/1.589, allocations: 34.38 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 4.99e-06/1.589, allocations: 3.938 kB / 1.371 GB, free: 14.14 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002694/1.59, allocations: 77.39 kB / 1.371 GB, free: 14.06 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/1.59, allocations: 55.44 kB / 1.372 GB, free: 14 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/1.59, allocations: 136.9 kB / 1.372 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/1.59, allocations: 25.7 kB / 1.372 GB, free: 13.84 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.01e-05/1.59, allocations: 87.33 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/1.59, allocations: 3.906 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-06/1.59, allocations: 0 / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002617/1.59, allocations: 326.7 kB / 1.372 GB, free: 13.42 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.661e-05/1.591, allocations: 35.86 kB / 1.372 GB, free: 13.39 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.726e-05/1.591, allocations: 38.41 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.455e-05/1.591, allocations: 43.16 kB / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/1.591, allocations: 0 / 1.372 GB, free: 13.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002268/1.591, allocations: 122.4 kB / 1.372 GB, free: 13.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/1.591, allocations: 11.98 kB / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-06/1.591, allocations: 0 / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/1.591, allocations: 0 / 1.372 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.205e-05/1.591, allocations: 4 kB / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/1.591, allocations: 0 / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/1.591, allocations: 0 / 1.372 GB, free: 13.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.142e-05/1.591, allocations: 4 kB / 1.372 GB, free: 13.2 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 0.0001074/1.591, allocations: 112 kB / 1.372 GB, free: 13.09 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.631e-05/1.591, allocations: 7.906 kB / 1.372 GB, free: 13.08 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/1.592, allocations: 83.69 kB / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/1.592, allocations: 0 / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.592, allocations: 0 / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/1.592, allocations: 0 / 1.373 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001976/1.592, allocations: 176.4 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/1.592, allocations: 0 / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/1.592, allocations: 4 kB / 1.373 GB, free: 12.78 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/1.592, allocations: 4.031 kB / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.729e-06/1.592, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.884e-06/1.592, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/1.592, allocations: 0 / 1.373 GB, free: 12.77 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/1.592, allocations: 96.27 kB / 1.373 GB, free: 12.67 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.843e-05/1.592, allocations: 81.06 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.863e-05/1.592, allocations: 4.031 kB / 1.373 GB, free: 12.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.539e-05/1.592, allocations: 8.016 kB / 1.373 GB, free: 12.56 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/1.592, allocations: 11.92 kB / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/1.592, allocations: 0 / 1.373 GB, free: 12.55 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001075/1.592, allocations: 107 kB / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.2e-07/1.592, allocations: 0 / 1.373 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005284/1.593, allocations: 75.86 kB / 1.373 GB, free: 12.38 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.0009165/1.594, allocations: 0.7124 MB / 1.374 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002016/1.594, allocations: 69.84 kB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/1.594, allocations: 4.031 kB / 1.374 GB, free: 11.59 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.339e-05/1.594, allocations: 19.98 kB / 1.374 GB, free: 11.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/1.595, allocations: 19.05 kB / 1.374 GB, free: 11.55 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000604/1.595, allocations: 172.8 kB / 1.374 GB, free: 11.36 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004518/1.596, allocations: 0.6926 MB / 1.375 GB, free: 10.64 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.45e-05/1.596, allocations: 13.64 kB / 1.375 GB, free: 10.62 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/1.596, allocations: 18.19 kB / 1.375 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of SimCode: time 3.11e-07/1.596, allocations: 0 / 1.375 GB, free: 10.61 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0189/1.615, allocations: 3.171 MB / 1.378 GB, free: 7.688 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002752/1.615, allocations: 212.4 kB / 1.378 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.798/3.413, allocations: 2.625 kB / 1.378 GB, free: 7.465 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat does not exist to compare? outputFormat=mat