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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005491/0.005491, allocations: 99.69 kB / 15.73 MB, free: 6.043 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.001448/0.001448, allocations: 192.3 kB / 16.67 MB, free: 5.953 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.442/2.442, allocations: 482.6 MB / 0.755 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001701/0.001701, allocations: 65.34 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2665, allocations: 162.3 MB / 1.242 GB, free: 8.891 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002234/0.2688, allocations: 1.289 MB / 1.243 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00131/0.2701, allocations: 0.8393 MB / 1.244 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.777e-05/0.2702, allocations: 4 kB / 1.244 GB, free: 6.746 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001384/0.2703, allocations: 8 kB / 1.244 GB, free: 6.738 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.423e-05/0.2703, allocations: 11.92 kB / 1.244 GB, free: 6.727 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005096/0.2709, allocations: 183.5 kB / 1.244 GB, free: 6.547 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.008e-05/0.2709, allocations: 19.88 kB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.322e-05/0.271, allocations: 3.984 kB / 1.244 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.183e-05/0.271, allocations: 7.984 kB / 1.244 GB, free: 6.516 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.835e-05/0.271, allocations: 12 kB / 1.244 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.654e-06/0.2711, allocations: 0 / 1.244 GB, free: 6.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003819/0.2714, allocations: 239.7 kB / 1.244 GB, free: 6.27 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.2715, allocations: 19.91 kB / 1.244 GB, free: 6.25 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.2715, allocations: 19.88 kB / 1.244 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003161/0.2719, allocations: 211.7 kB / 1.245 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.169e-06/0.2719, allocations: 3.984 kB / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.283e-06/0.2719, allocations: 0 / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.2719, allocations: 0 / 1.245 GB, free: 6.02 MB / 0.9669 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.0003909/0.2723, allocations: 382.9 kB / 1.245 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.2723, allocations: 16.02 kB / 1.245 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.839e-05/0.2724, allocations: 34.75 kB / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.026e-05/0.2724, allocations: 0.9375 kB / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001429/0.2725, allocations: 182.5 kB / 1.245 GB, free: 5.324 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.292e-06/0.2725, allocations: 4.312 kB / 1.245 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.227e-05/0.2726, allocations: 8.375 kB / 1.245 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.282e-05/0.2727, allocations: 45.81 kB / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.683e-06/0.2727, allocations: 0 / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.05e-06/0.2727, allocations: 0 / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.446e-06/0.2727, allocations: 0 / 1.245 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.591e-05/0.2727, allocations: 35.98 kB / 1.245 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000183/0.2729, allocations: 177.6 kB / 1.246 GB, free: 5.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 6.944e-05/0.273, allocations: 62.48 kB / 1.246 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.175e-05/0.273, allocations: 20.91 kB / 1.246 GB, free: 4.91 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.2731, allocations: 4 kB / 1.246 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.2731, allocations: 46.5 kB / 1.246 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2731, allocations: 0 / 1.246 GB, free: 4.852 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001484/0.2733, allocations: 77.67 kB / 1.246 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/0.2733, allocations: 55.41 kB / 1.246 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001243/0.2734, allocations: 149.7 kB / 1.246 GB, free: 4.547 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.2735, allocations: 29.64 kB / 1.246 GB, free: 4.512 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.2735, allocations: 88.14 kB / 1.246 GB, free: 4.422 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.587e-05/0.2735, allocations: 7.953 kB / 1.246 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.362e-05/0.2736, allocations: 21.83 kB / 1.246 GB, free: 4.387 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2737, allocations: 318.8 kB / 1.246 GB, free: 4.066 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.212e-05/0.2738, allocations: 43.97 kB / 1.246 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.372e-05/0.2738, allocations: 39.98 kB / 1.246 GB, free: 3.984 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.2739, allocations: 96.81 kB / 1.247 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.2739, allocations: 0 / 1.247 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000143/0.2741, allocations: 129.6 kB / 1.247 GB, free: 3.754 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.2741, allocations: 7.938 kB / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2741, allocations: 0 / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.2741, allocations: 0 / 1.247 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.219e-05/0.2742, allocations: 11.94 kB / 1.247 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.2742, allocations: 0 / 1.247 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.522e-05/0.2742, allocations: 7.953 kB / 1.247 GB, free: 3.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.2742, allocations: 0 / 1.247 GB, free: 3.727 MB / 0.9669 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.75e-05/0.2743, allocations: 117.8 kB / 1.247 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.267e-05/0.2743, allocations: 11.89 kB / 1.247 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001072/0.2744, allocations: 73.2 kB / 1.247 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.2745, allocations: 0 / 1.247 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.2745, allocations: 4.031 kB / 1.247 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.2745, allocations: 0 / 1.247 GB, free: 3.508 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.2746, allocations: 177.7 kB / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.2746, allocations: 0 / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.843e-05/0.2746, allocations: 7.875 kB / 1.247 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.2746, allocations: 7.938 kB / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-06/0.2747, allocations: 0 / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.2747, allocations: 0 / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2747, allocations: 0 / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.2748, allocations: 97.06 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.317e-05/0.2748, allocations: 85.05 kB / 1.247 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.358e-06/0.2748, allocations: 0 / 1.247 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.998e-06/0.2748, allocations: 0 / 1.247 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.2749, allocations: 4 kB / 1.247 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.2749, allocations: 4 kB / 1.247 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.891e-05/0.275, allocations: 104.8 kB / 1.247 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.11e-07/0.275, allocations: 0 / 1.247 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002397/0.2752, allocations: 59.88 kB / 1.247 GB, free: 2.887 MB / 0.9669 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.0006005/0.2758, allocations: 0.7025 MB / 1.248 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.276, allocations: 76 kB / 1.248 GB, free: 2.082 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.276, allocations: 3.938 kB / 1.248 GB, free: 2.078 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 2.428e-05/0.276, allocations: 19.92 kB / 1.248 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.2762, allocations: 28.05 kB / 1.248 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.2775, allocations: 1.514 MB / 1.25 GB, free: 448 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003166/0.2779, allocations: 0.6923 MB / 1.25 GB, free: 15.72 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.777e-05/0.2779, allocations: 20.06 kB / 1.25 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.2779, allocations: 11.44 kB / 1.25 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of SimCode: time 2.01e-07/0.2779, allocations: 0 / 1.25 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.619/2.897, allocations: 3.395 MB / 1.254 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/19.73, allocations: 11.47 kB / 1.254 GB, free: 12.51 MB / 0.9825 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/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=400 --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) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches