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.394/2.394, allocations: 393.5 MB / 408.4 MB, free: 11.06 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.001143/0.001143, allocations: 171.9 kB / 0.4901 GB, free: 2.254 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.566/1.566, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.001034/0.001034, allocations: 91.95 kB / 0.9396 GB, free: 2.863 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003723/0.0003724, allocations: 13.59 kB / 1.09 GB, free: 213 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.302/0.3024, allocations: 143 MB / 1.229 GB, free: 85.36 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2049/0.5073, allocations: 151.6 MB / 1.377 GB, free: 13.54 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003051/0.5077, allocations: 103.9 kB / 1.377 GB, free: 13.44 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.01208/0.5198, allocations: 3.581 MB / 1.381 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of FrontEnd: time 5.571e-06/0.5198, allocations: 0 / 1.381 GB, free: 9.852 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.4e-05/0.5199, allocations: 0 / 1.381 GB, free: 9.852 MB / 0.8855 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.0007486/0.5206, allocations: 383 kB / 1.381 GB, free: 9.43 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.133e-05/0.5207, allocations: 8.562 kB / 1.381 GB, free: 9.422 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.764e-05/0.5208, allocations: 30.56 kB / 1.381 GB, free: 9.383 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.5208, allocations: 4 kB / 1.381 GB, free: 9.379 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002148/0.5211, allocations: 190.8 kB / 1.382 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.5211, allocations: 0 / 1.382 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.5211, allocations: 0 / 1.382 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.5213, allocations: 53.56 kB / 1.382 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.5213, allocations: 0 / 1.382 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.262e-05/0.5214, allocations: 0 / 1.382 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.5214, allocations: 0 / 1.382 GB, free: 9.094 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.165e-05/0.5215, allocations: 31.97 kB / 1.382 GB, free: 9.062 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003228/0.5218, allocations: 185.6 kB / 1.382 GB, free: 8.832 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.5219, allocations: 54.55 kB / 1.382 GB, free: 8.77 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.522, allocations: 4.062 kB / 1.382 GB, free: 8.766 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.522, allocations: 38.5 kB / 1.382 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 2.164e-06/0.522, allocations: 4 kB / 1.382 GB, free: 8.715 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.0002798/0.5223, allocations: 85.56 kB / 1.382 GB, free: 8.625 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/0.5224, allocations: 55.34 kB / 1.382 GB, free: 8.559 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.5226, allocations: 138.6 kB / 1.382 GB, free: 8.418 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.002e-05/0.5226, allocations: 25.7 kB / 1.382 GB, free: 8.387 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 7.256e-05/0.5227, allocations: 84.14 kB / 1.382 GB, free: 8.301 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.39e-05/0.5228, allocations: 7.906 kB / 1.382 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.5228, allocations: 0 / 1.382 GB, free: 8.293 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001638/0.5229, allocations: 322.8 kB / 1.383 GB, free: 7.969 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.178e-05/0.523, allocations: 39.97 kB / 1.383 GB, free: 7.93 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.5231, allocations: 35.98 kB / 1.383 GB, free: 7.895 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.623e-05/0.5232, allocations: 43.91 kB / 1.383 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5232, allocations: 4 kB / 1.383 GB, free: 7.848 MB / 0.8855 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001902/0.5234, allocations: 125.5 kB / 1.383 GB, free: 7.719 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.5234, allocations: 4 kB / 1.383 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5234, allocations: 0 / 1.383 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.5234, allocations: 0 / 1.383 GB, free: 7.715 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.076e-05/0.5235, allocations: 4 kB / 1.383 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.5235, allocations: 0 / 1.383 GB, free: 7.711 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.879e-05/0.5236, allocations: 4 kB / 1.383 GB, free: 7.707 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.788e-05/0.5236, allocations: 7.984 kB / 1.383 GB, free: 7.699 MB / 0.8855 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 0.0001043/0.5237, allocations: 125.8 kB / 1.383 GB, free: 7.566 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.5237, allocations: 3.906 kB / 1.383 GB, free: 7.562 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001739/0.5239, allocations: 85.12 kB / 1.383 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.5239, allocations: 0 / 1.383 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5239, allocations: 0 / 1.383 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.5239, allocations: 0 / 1.383 GB, free: 7.477 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001444/0.5241, allocations: 177.5 kB / 1.383 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5241, allocations: 0 / 1.383 GB, free: 7.254 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.311e-05/0.5241, allocations: 4 kB / 1.383 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5241, allocations: 0 / 1.383 GB, free: 7.25 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.5242, allocations: 12.03 kB / 1.383 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5242, allocations: 0 / 1.383 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.5242, allocations: 0 / 1.383 GB, free: 7.238 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001251/0.5243, allocations: 92.95 kB / 1.383 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 4.573e-05/0.5244, allocations: 81.06 kB / 1.383 GB, free: 7.031 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.5244, allocations: 7.984 kB / 1.383 GB, free: 7.023 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.511e-05/0.5244, allocations: 4 kB / 1.383 GB, free: 7.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.514e-05/0.5244, allocations: 4.031 kB / 1.383 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.5244, allocations: 0 / 1.383 GB, free: 7.016 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.441e-05/0.5245, allocations: 105.5 kB / 1.384 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5245, allocations: 0 / 1.384 GB, free: 6.914 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003899/0.5249, allocations: 75.92 kB / 1.384 GB, free: 6.84 MB / 0.8855 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.0007853/0.5257, allocations: 0.7185 MB / 1.384 GB, free: 6.09 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001477/0.5259, allocations: 71.89 kB / 1.384 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.5259, allocations: 0 / 1.384 GB, free: 6.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.65e-05/0.5259, allocations: 23.98 kB / 1.384 GB, free: 5.996 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002421/0.5262, allocations: 29.67 kB / 1.384 GB, free: 5.969 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006787/0.5268, allocations: 394.7 kB / 1.385 GB, free: 5.531 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002786/0.5271, allocations: 0.6926 MB / 1.385 GB, free: 4.812 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.66e-05/0.5272, allocations: 4 kB / 1.385 GB, free: 4.809 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.4e-05/0.5272, allocations: 19.44 kB / 1.385 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of SimCode: time 3.296e-06/0.5272, allocations: 0 / 1.385 GB, free: 4.789 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01794/0.5452, allocations: 3.112 MB / 1.389 GB, free: 1.918 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/0.5455, allocations: 239.9 kB / 1.389 GB, free: 1.68 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.416, allocations: 0 / 1.389 GB, free: 1.68 MB / 0.8855 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