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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 99 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.327/1.327, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.366/2.366, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 16 kB / 0.8146 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6451/0.6454, allocations: 142.3 MB / 0.9536 GB, free: 8.031 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001278/0.6468, allocations: 0.984 MB / 0.9546 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001108/0.6479, allocations: 0.797 MB / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.423e-05/0.6479, allocations: 1.438 kB / 0.9554 GB, free: 6.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001504/0.6481, allocations: 6.859 kB / 0.9554 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.484e-05/0.6481, allocations: 6.719 kB / 0.9554 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004441/0.6486, allocations: 139.6 kB / 0.9555 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.693e-05/0.6486, allocations: 18.3 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.617e-05/0.6487, allocations: 1.375 kB / 0.9555 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.475e-05/0.6487, allocations: 8.609 kB / 0.9555 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.364e-05/0.6488, allocations: 8.156 kB / 0.9555 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.955e-06/0.6488, allocations: 0 / 0.9555 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000324/0.6491, allocations: 202.5 kB / 0.9557 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.682e-05/0.6492, allocations: 14.83 kB / 0.9557 GB, free: 6.406 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.6492, allocations: 32.92 kB / 0.9558 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002214/0.6494, allocations: 152.8 kB / 0.9559 GB, free: 6.285 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.6494, allocations: 4 kB / 0.9559 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.6494, allocations: 0 / 0.9559 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.6494, allocations: 0 / 0.9559 GB, free: 6.281 MB / 0.7169 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.0002729/0.6497, allocations: 367.7 kB / 0.9563 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.6498, allocations: 9.656 kB / 0.9563 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.343e-05/0.6498, allocations: 30.56 kB / 0.9563 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.582e-05/0.6498, allocations: 9.922 kB / 0.9563 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.973e-05/0.6499, allocations: 175.3 kB / 0.9565 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.022e-05/0.6499, allocations: 9.031 kB / 0.9565 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.487e-06/0.65, allocations: 5.125 kB / 0.9565 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/0.6501, allocations: 45.97 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.6501, allocations: 0 / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.795e-06/0.6501, allocations: 1.031 kB / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.6501, allocations: 0 / 0.9565 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.402e-05/0.6502, allocations: 33.97 kB / 0.9566 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/0.6503, allocations: 174.7 kB / 0.9567 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 6.653e-05/0.6504, allocations: 59.41 kB / 0.9568 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.758e-05/0.6504, allocations: 7.094 kB / 0.9568 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.586e-05/0.6504, allocations: 31.69 kB / 0.9568 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.6505, allocations: 1.031 kB / 0.9568 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001553/0.6506, allocations: 83.7 kB / 0.9569 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.18e-05/0.6506, allocations: 52.56 kB / 0.957 GB, free: 5.176 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001049/0.6508, allocations: 135.7 kB / 0.9571 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.853e-06/0.6508, allocations: 25.83 kB / 0.9571 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.458e-05/0.6508, allocations: 95.86 kB / 0.9572 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.388e-05/0.6508, allocations: 7.844 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-06/0.6508, allocations: 0.9062 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.6509, allocations: 324.9 kB / 0.9575 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.6509, allocations: 41.77 kB / 0.9576 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-05/0.651, allocations: 45.56 kB / 0.9576 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.888e-05/0.651, allocations: 43.77 kB / 0.9577 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.651, allocations: 0 / 0.9577 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000125/0.6512, allocations: 125.4 kB / 0.9578 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.6512, allocations: 11.31 kB / 0.9578 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.6512, allocations: 0 / 0.9578 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.6512, allocations: 0 / 0.9578 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.237e-05/0.6513, allocations: 7.906 kB / 0.9578 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.6513, allocations: 0 / 0.9578 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.878e-05/0.6513, allocations: 10.5 kB / 0.9578 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.6513, allocations: 3.984 kB / 0.9578 GB, free: 4.48 MB / 0.7169 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 5.495e-05/0.6514, allocations: 117.2 kB / 0.9579 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.236e-06/0.6514, allocations: 3.938 kB / 0.9579 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.6515, allocations: 79.11 kB / 0.958 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.6515, allocations: 4.906 kB / 0.958 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.6515, allocations: 0 / 0.958 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.6515, allocations: 1.031 kB / 0.958 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.542e-05/0.6516, allocations: 178.8 kB / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.6516, allocations: 0 / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.673e-05/0.6516, allocations: 3.656 kB / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.6516, allocations: 0 / 0.9582 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.72e-06/0.6517, allocations: 3.938 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6517, allocations: 1.094 kB / 0.9582 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.6517, allocations: 4.031 kB / 0.9582 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.812e-05/0.6518, allocations: 103.2 kB / 0.9583 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.6518, allocations: 82.86 kB / 0.9584 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.6518, allocations: 0 / 0.9584 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.191e-05/0.6518, allocations: 0 / 0.9584 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.422e-05/0.6518, allocations: 1.844 kB / 0.9584 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.6519, allocations: 0 / 0.9584 GB, free: 3.895 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.926e-05/0.6519, allocations: 111.5 kB / 0.9585 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.232e-06/0.6519, allocations: 0 / 0.9585 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002719/0.6522, allocations: 64.42 kB / 0.9585 GB, free: 3.785 MB / 0.7169 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.0005114/0.6527, allocations: 0.6962 MB / 0.9592 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001237/0.6528, allocations: 69.58 kB / 0.9593 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.6529, allocations: 0 / 0.9593 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.218e-05/0.6529, allocations: 18.3 kB / 0.9593 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.6531, allocations: 28.94 kB / 0.9593 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.6536, allocations: 390.2 kB / 0.9597 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.6538, allocations: 0.693 MB / 0.9604 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.79e-05/0.6538, allocations: 6.656 kB / 0.9604 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.6538, allocations: 22.17 kB / 0.9604 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of SimCode: time 3.41e-07/0.6538, allocations: 0 / 0.9604 GB, free: 2.008 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01188/0.6657, allocations: 3.041 MB / 0.9634 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001282/0.6659, allocations: 244.6 kB / 0.9636 GB, free: 372 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.615/2.281, allocations: 1.062 kB / 0.9636 GB, free: 372 kB / 0.7169 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