Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.006523/0.006523, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001801/0.001801, allocations: 202.2 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.5/2.5, allocations: 469.8 MB / 0.7425 GB, free: 7.344 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001675/0.001675, allocations: 60.12 kB / 1.065 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2521/0.2538, allocations: 159.1 MB / 1.22 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.001978/0.2558, allocations: 1.282 MB / 1.221 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001201/0.257, allocations: 0.8569 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.917e-05/0.257, allocations: 0 / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.2572, allocations: 4 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.563e-05/0.2572, allocations: 11.92 kB / 1.222 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004974/0.2577, allocations: 187.5 kB / 1.222 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.054e-05/0.2578, allocations: 15.92 kB / 1.222 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 2.791e-05/0.2578, allocations: 7.984 kB / 1.222 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.2e-05/0.2578, allocations: 7.984 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.319e-05/0.2579, allocations: 7.938 kB / 1.223 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.387e-06/0.2579, allocations: 4 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003689/0.2583, allocations: 243.7 kB / 1.223 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.537e-05/0.2583, allocations: 11.98 kB / 1.223 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.2583, allocations: 15.88 kB / 1.223 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003024/0.2586, allocations: 215.3 kB / 1.223 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2587, allocations: 8 kB / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2587, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.386e-06/0.2587, allocations: 0 / 1.223 GB, free: 11.4 MB / 0.9825 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.0003619/0.259, allocations: 375 kB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.336e-05/0.2591, allocations: 12.03 kB / 1.223 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.683e-05/0.2591, allocations: 30.75 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.399e-05/0.2591, allocations: 12.89 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.2593, allocations: 180.2 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.2593, allocations: 4.375 kB / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.2593, allocations: 384 / 1.224 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/0.2594, allocations: 49.81 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.2594, allocations: 0 / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.432e-06/0.2594, allocations: 4 kB / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.2594, allocations: 0 / 1.224 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.019e-05/0.2595, allocations: 27.98 kB / 1.224 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001747/0.2596, allocations: 177.7 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.817e-05/0.2597, allocations: 54.44 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.055e-05/0.2598, allocations: 28.91 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.2598, allocations: 8 kB / 1.224 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.307e-05/0.2598, allocations: 34.5 kB / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.2598, allocations: 0 / 1.224 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001386/0.26, allocations: 89.62 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.26, allocations: 51.41 kB / 1.224 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001047/0.2601, allocations: 137.1 kB / 1.224 GB, free: 9.953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.2601, allocations: 37.64 kB / 1.224 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.042e-05/0.2602, allocations: 92.12 kB / 1.224 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.2602, allocations: 3.953 kB / 1.224 GB, free: 9.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.168e-05/0.2602, allocations: 21.72 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.2604, allocations: 314.8 kB / 1.225 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.023e-05/0.2604, allocations: 43.98 kB / 1.225 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.696e-05/0.2605, allocations: 47.95 kB / 1.225 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.714e-05/0.2606, allocations: 92.89 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/0.2606, allocations: 8 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001363/0.2607, allocations: 129.6 kB / 1.225 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.2607, allocations: 8 kB / 1.225 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.2607, allocations: 3.984 kB / 1.225 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.104e-05/0.2608, allocations: 3.984 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.93e-05/0.2608, allocations: 7.938 kB / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.176e-06/0.2608, allocations: 0 / 1.225 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.568e-05/0.2608, allocations: 3.938 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.797e-06/0.2608, allocations: 0 / 1.225 GB, free: 9.117 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/0.2609, allocations: 125.8 kB / 1.225 GB, free: 8.984 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.172e-05/0.2609, allocations: 7.891 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.261, allocations: 69.22 kB / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.261, allocations: 0 / 1.225 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2611, allocations: 7.984 kB / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2611, allocations: 0 / 1.225 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.2612, allocations: 169.7 kB / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.2612, allocations: 0 / 1.225 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.099e-05/0.2612, allocations: 11.88 kB / 1.225 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2612, allocations: 3.984 kB / 1.225 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.2612, allocations: 4.031 kB / 1.225 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2612, allocations: 3.938 kB / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.2612, allocations: 0 / 1.225 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.973e-05/0.2613, allocations: 89.08 kB / 1.225 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.2614, allocations: 85 kB / 1.226 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.2614, allocations: 7.984 kB / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.009e-05/0.2614, allocations: 0 / 1.226 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.339e-05/0.2614, allocations: 8.031 kB / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.2614, allocations: 0 / 1.226 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.2615, allocations: 99.27 kB / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2615, allocations: 0 / 1.226 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002344/0.2617, allocations: 63.86 kB / 1.226 GB, free: 8.27 MB / 0.9825 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000556/0.2623, allocations: 0.7065 MB / 1.226 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.2624, allocations: 71.97 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2624, allocations: 0 / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.235e-05/0.2625, allocations: 19.94 kB / 1.226 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.2627, allocations: 37.97 kB / 1.227 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.2639, allocations: 1.52 MB / 1.228 GB, free: 5.809 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002663/0.2642, allocations: 0.6885 MB / 1.229 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.2642, allocations: 4 kB / 1.229 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.2643, allocations: 19.42 kB / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2643, allocations: 0 / 1.229 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.001/2.265, allocations: 3.403 MB / 1.232 GB, free: 1.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.43/15.7, allocations: 11.91 kB / 1.232 GB, free: 1.879 MB / 0.9825 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches