Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.005264/0.005264, allocations: 103.2 kB / 15.73 MB, free: 6.059 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.001914/0.001914, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.31/2.31, allocations: 437.1 MB / 0.7105 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002191/0.002191, allocations: 59.91 kB / 1.018 GB, free: 9.871 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7674/0.7696, allocations: 151.6 MB / 1.166 GB, free: 3.797 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.002567/0.7722, allocations: 1.287 MB / 1.167 GB, free: 2.504 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001561/0.7738, allocations: 0.8525 MB / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.731e-05/0.7738, allocations: 0 / 1.168 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.774, allocations: 8 kB / 1.168 GB, free: 1.637 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.279e-05/0.7741, allocations: 7.938 kB / 1.168 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007315/0.7748, allocations: 189.1 kB / 1.168 GB, free: 1.445 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 8.147e-05/0.7749, allocations: 15.92 kB / 1.168 GB, free: 1.43 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 3.953e-05/0.775, allocations: 4 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 2.791e-05/0.775, allocations: 7.984 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.686e-05/0.7751, allocations: 7.938 kB / 1.169 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.7751, allocations: 4 kB / 1.169 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000472/0.7756, allocations: 247.6 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.659e-05/0.7756, allocations: 11.98 kB / 1.169 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.7757, allocations: 15.88 kB / 1.169 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003833/0.7761, allocations: 213.8 kB / 1.169 GB, free: 0.9297 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.7761, allocations: 4 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7761, allocations: 0 / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7761, allocations: 0 / 1.169 GB, free: 0.9258 MB / 0.8887 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.0004352/0.7765, allocations: 381.5 kB / 1.169 GB, free: 0.5078 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.7766, allocations: 8.031 kB / 1.169 GB, free: 0.5 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.7766, allocations: 42.69 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/0.7767, allocations: 8.844 kB / 1.169 GB, free: 452 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.7768, allocations: 180.2 kB / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.7768, allocations: 384 / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.556e-06/0.7768, allocations: 384 / 1.17 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001167/0.777, allocations: 49.81 kB / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.777, allocations: 0 / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.175e-06/0.777, allocations: 0 / 1.17 GB, free: 176 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.777, allocations: 4 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.777, allocations: 27.98 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002032/0.7773, allocations: 177.7 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.208e-05/0.7773, allocations: 50.5 kB / 1.17 GB, free: 15.86 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.685e-05/0.7774, allocations: 36.91 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 4.373e-05/0.7774, allocations: 7.984 kB / 1.17 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.7775, allocations: 38.44 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.7775, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2): time 0.0001707/0.7777, allocations: 93.52 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.7777, allocations: 51.41 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.7778, allocations: 133.8 kB / 1.17 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.349e-05/0.7778, allocations: 25.7 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.572e-05/0.7779, allocations: 92.12 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.899e-05/0.7779, allocations: 7.844 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.778, allocations: 21.72 kB / 1.17 GB, free: 15.3 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7781, allocations: 319 kB / 1.171 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.535e-05/0.7782, allocations: 43.98 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.248e-05/0.7782, allocations: 43.97 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.7783, allocations: 92.83 kB / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.7783, allocations: 0 / 1.171 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001567/0.7785, allocations: 129.4 kB / 1.171 GB, free: 14.67 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.7785, allocations: 8 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.69e-06/0.7785, allocations: 0 / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.7786, allocations: 3.984 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.7786, allocations: 4 kB / 1.171 GB, free: 14.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.7786, allocations: 4 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.96e-05/0.7787, allocations: 0 / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-06/0.7787, allocations: 0 / 1.171 GB, free: 14.65 MB / 0.9044 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 8.608e-05/0.7788, allocations: 125.8 kB / 1.171 GB, free: 14.52 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.709e-05/0.7788, allocations: 11.92 kB / 1.171 GB, free: 14.51 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001341/0.7789, allocations: 69.22 kB / 1.171 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.7789, allocations: 7.938 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.7789, allocations: 0 / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.779, allocations: 8.016 kB / 1.171 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.7791, allocations: 169.7 kB / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.7791, allocations: 0 / 1.171 GB, free: 14.2 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.076e-05/0.7791, allocations: 11.88 kB / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7791, allocations: 0 / 1.171 GB, free: 14.19 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-06/0.7791, allocations: 3.984 kB / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.7792, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7792, allocations: 0 / 1.171 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.7793, allocations: 97.03 kB / 1.171 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.815e-05/0.7793, allocations: 84.98 kB / 1.172 GB, free: 13.97 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.7793, allocations: 3.984 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.104e-05/0.7794, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.155e-05/0.7794, allocations: 4 kB / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-06/0.7794, allocations: 0 / 1.172 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.7795, allocations: 104.7 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7795, allocations: 3.938 kB / 1.172 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000309/0.7798, allocations: 59.98 kB / 1.172 GB, free: 13.8 MB / 0.9044 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.0006966/0.7805, allocations: 0.7099 MB / 1.172 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001398/0.7806, allocations: 63.97 kB / 1.172 GB, free: 13 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7806, allocations: 4.031 kB / 1.172 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 2.226e-05/0.7807, allocations: 19.94 kB / 1.172 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.7809, allocations: 32.03 kB / 1.173 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.7824, allocations: 1.519 MB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.7826, allocations: 0.6885 MB / 1.175 GB, free: 10.63 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.435e-05/0.7827, allocations: 4 kB / 1.175 GB, free: 10.62 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.7827, allocations: 23.42 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of SimCode: time 3.6e-07/0.7827, allocations: 4 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02116/0.8039, allocations: 3.401 MB / 1.178 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.379/8.183, allocations: 8.141 kB / 1.178 GB, free: 7.41 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_BaseClasses_Characteristics_Validation_NormalizedPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches