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.117/2.117, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001173/0.001173, allocations: 173.1 kB / 498.1 MB, free: 5.734 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.321/1.321, allocations: 223.2 MB / 0.7948 GB, free: 17.8 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.0009255/0.0009254, allocations: 90.52 kB / 0.9346 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003393/0.0003393, allocations: 13.38 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2171, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.3758, allocations: 150.8 MB / 1.37 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.3761, allocations: 99.92 kB / 1.37 GB, free: 11.01 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01057/0.3867, allocations: 3.574 MB / 1.374 GB, free: 7.43 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3868, allocations: 7.938 kB / 1.374 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.67e-06/0.3868, allocations: 0 / 1.374 GB, free: 7.422 MB / 0.8698 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.0003798/0.3872, allocations: 399 kB / 1.374 GB, free: 6.984 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3872, allocations: 12.03 kB / 1.374 GB, free: 6.973 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.072e-05/0.3872, allocations: 30.56 kB / 1.374 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.293e-05/0.3873, allocations: 3.906 kB / 1.374 GB, free: 6.93 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.3874, allocations: 177.8 kB / 1.374 GB, free: 6.719 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.146e-05/0.3874, allocations: 4 kB / 1.374 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.144e-05/0.3874, allocations: 0 / 1.374 GB, free: 6.715 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.3875, allocations: 49.69 kB / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.3876, allocations: 0 / 1.374 GB, free: 6.66 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.3876, allocations: 3.938 kB / 1.374 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.3876, allocations: 0 / 1.374 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.41e-05/0.3876, allocations: 35.97 kB / 1.375 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001862/0.3878, allocations: 177.6 kB / 1.375 GB, free: 6.398 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.963e-05/0.3879, allocations: 54.55 kB / 1.375 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.607e-05/0.388, allocations: 4.062 kB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.386e-05/0.388, allocations: 38.56 kB / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.388, allocations: 0 / 1.375 GB, free: 6.285 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001628/0.3882, allocations: 85.5 kB / 1.375 GB, free: 6.195 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.3882, allocations: 55.41 kB / 1.375 GB, free: 6.129 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3883, allocations: 125 kB / 1.375 GB, free: 6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.3883, allocations: 25.7 kB / 1.375 GB, free: 5.969 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.461e-05/0.3884, allocations: 88.14 kB / 1.375 GB, free: 5.879 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.3884, allocations: 11.97 kB / 1.375 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-06/0.3884, allocations: 0 / 1.375 GB, free: 5.867 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.3885, allocations: 326.8 kB / 1.375 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.299e-05/0.3886, allocations: 35.97 kB / 1.376 GB, free: 5.504 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.29e-05/0.3887, allocations: 35.98 kB / 1.376 GB, free: 5.469 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.902e-05/0.3887, allocations: 47.95 kB / 1.376 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3887, allocations: 0 / 1.376 GB, free: 5.422 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001605/0.3889, allocations: 121.5 kB / 1.376 GB, free: 5.297 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.3889, allocations: 4 kB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.3889, allocations: 0 / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.3889, allocations: 11.94 kB / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.356e-05/0.389, allocations: 0 / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.389, allocations: 0 / 1.376 GB, free: 5.281 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.963e-05/0.389, allocations: 4 kB / 1.376 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.3891, allocations: 7.984 kB / 1.376 GB, free: 5.27 MB / 0.8698 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 () * Number of clocked 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 8.431e-05/0.3891, allocations: 117.8 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.271e-05/0.3892, allocations: 7.906 kB / 1.376 GB, free: 5.137 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.3893, allocations: 81.12 kB / 1.376 GB, free: 5.047 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3893, allocations: 7.969 kB / 1.376 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.3893, allocations: 4 kB / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.3893, allocations: 0 / 1.376 GB, free: 5.035 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001248/0.3895, allocations: 177.6 kB / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3895, allocations: 0 / 1.376 GB, free: 4.812 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.664e-05/0.3895, allocations: 4 kB / 1.376 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3895, allocations: 0 / 1.376 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.811e-06/0.3895, allocations: 0 / 1.376 GB, free: 4.809 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/0.3895, allocations: 4 kB / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3895, allocations: 0 / 1.376 GB, free: 4.805 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001159/0.3897, allocations: 98.05 kB / 1.376 GB, free: 4.691 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.211e-05/0.3897, allocations: 93.05 kB / 1.376 GB, free: 4.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.608e-05/0.3897, allocations: 3.984 kB / 1.376 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.233e-05/0.3898, allocations: 0 / 1.376 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.198e-05/0.3898, allocations: 3.938 kB / 1.376 GB, free: 4.574 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.301e-06/0.3898, allocations: 4 kB / 1.376 GB, free: 4.57 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 6.98e-05/0.3899, allocations: 109.8 kB / 1.376 GB, free: 4.465 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3899, allocations: 4.031 kB / 1.376 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002852/0.3902, allocations: 67.88 kB / 1.376 GB, free: 4.395 MB / 0.8698 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 () * Number of clocked 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.0005853/0.3907, allocations: 0.7226 MB / 1.377 GB, free: 3.641 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.3909, allocations: 63.91 kB / 1.377 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3909, allocations: 4 kB / 1.377 GB, free: 3.574 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.07e-05/0.3909, allocations: 15.98 kB / 1.377 GB, free: 3.559 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.3911, allocations: 26.28 kB / 1.377 GB, free: 3.535 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005178/0.3916, allocations: 394.6 kB / 1.378 GB, free: 3.098 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.3919, allocations: 0.7004 MB / 1.378 GB, free: 2.371 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.661e-05/0.392, allocations: 12 kB / 1.378 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.502e-05/0.392, allocations: 15.44 kB / 1.378 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of SimCode: time 2.31e-07/0.392, allocations: 0 / 1.378 GB, free: 2.344 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0138/0.4058, allocations: 3.105 MB / 1.381 GB, free: 15.47 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002231/0.4061, allocations: 232.7 kB / 1.382 GB, free: 15.23 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.038, allocations: 3.938 kB / 1.382 GB, free: 15.23 MB / 0.8855 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