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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 107.6 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 191.7 kB / 19.41 MB, free: 3.68 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.031/3.031, allocations: 497.2 MB / 0.7811 GB, free: 33.71 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001904/0.001904, allocations: 70.25 kB / 1.134 GB, free: 33.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.344, allocations: 173.9 MB / 1.304 GB, free: 1.559 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower): time 0.003156/0.3471, allocations: 1.269 MB / 1.305 GB, free: 288 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001794/0.3489, allocations: 0.8573 MB / 1.306 GB, free: 15.42 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.3489, allocations: 4 kB / 1.306 GB, free: 15.41 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001967/0.3491, allocations: 11.92 kB / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 2.95e-05/0.3492, allocations: 0 / 1.306 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007926/0.35, allocations: 191.5 kB / 1.306 GB, free: 15.21 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.912e-05/0.35, allocations: 23.91 kB / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.3501, allocations: 0 / 1.306 GB, free: 15.19 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 3.332e-05/0.3501, allocations: 7.984 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.753e-05/0.3502, allocations: 8 kB / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.388e-06/0.3502, allocations: 0 / 1.306 GB, free: 15.18 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004838/0.3507, allocations: 255.6 kB / 1.307 GB, free: 14.93 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 6.047e-05/0.3507, allocations: 15.92 kB / 1.307 GB, free: 14.91 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.3508, allocations: 15.88 kB / 1.307 GB, free: 14.89 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.3512, allocations: 215.6 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3512, allocations: 4 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3512, allocations: 4 kB / 1.307 GB, free: 14.68 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3512, allocations: 0 / 1.307 GB, free: 14.68 MB / 1.014 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.0005283/0.3517, allocations: 379 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/0.3518, allocations: 12.03 kB / 1.307 GB, free: 14.25 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.105e-05/0.3518, allocations: 34.75 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.116e-05/0.3519, allocations: 4.891 kB / 1.307 GB, free: 14.2 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000176/0.352, allocations: 176.3 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.352, allocations: 4.375 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.3521, allocations: 4.375 kB / 1.307 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.3522, allocations: 49.75 kB / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3522, allocations: 0 / 1.307 GB, free: 13.93 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.3522, allocations: 4 kB / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.3522, allocations: 0 / 1.307 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.738e-05/0.3523, allocations: 31.98 kB / 1.307 GB, free: 13.89 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002304/0.3525, allocations: 173.7 kB / 1.308 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 8.481e-05/0.3526, allocations: 54.56 kB / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.952e-05/0.3526, allocations: 20.91 kB / 1.308 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 4.452e-05/0.3527, allocations: 11.94 kB / 1.308 GB, free: 13.57 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.3527, allocations: 42.48 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.3527, allocations: 3.938 kB / 1.308 GB, free: 13.52 MB / 1.014 GB Notification: Performance of matching and sorting (n=2): time 0.0001841/0.3529, allocations: 81.62 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.3529, allocations: 55.41 kB / 1.308 GB, free: 13.37 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.3531, allocations: 137.9 kB / 1.308 GB, free: 13.22 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.924e-05/0.3531, allocations: 29.7 kB / 1.308 GB, free: 13.19 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.3531, allocations: 92.12 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.677e-05/0.3532, allocations: 7.938 kB / 1.308 GB, free: 13.09 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.3532, allocations: 21.72 kB / 1.308 GB, free: 13.06 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3533, allocations: 318.8 kB / 1.308 GB, free: 12.74 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.101e-05/0.3534, allocations: 43.92 kB / 1.309 GB, free: 12.7 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.957e-05/0.3535, allocations: 51.91 kB / 1.309 GB, free: 12.64 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.3536, allocations: 100.9 kB / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3536, allocations: 0 / 1.309 GB, free: 12.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001548/0.3537, allocations: 129.5 kB / 1.309 GB, free: 12.41 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.186e-05/0.3537, allocations: 7.984 kB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.3538, allocations: 0 / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.3538, allocations: 0 / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.493e-05/0.3538, allocations: 4 kB / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.3538, allocations: 0 / 1.309 GB, free: 12.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.351e-05/0.3539, allocations: 7.953 kB / 1.309 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.3539, allocations: 0 / 1.309 GB, free: 12.39 MB / 1.014 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 9.862e-05/0.354, allocations: 129.8 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.227e-05/0.354, allocations: 7.938 kB / 1.309 GB, free: 12.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001267/0.3541, allocations: 73.16 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3541, allocations: 3.984 kB / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.3541, allocations: 0 / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3541, allocations: 0 / 1.309 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.3542, allocations: 173.7 kB / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3542, allocations: 0 / 1.309 GB, free: 11.94 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.037e-05/0.3543, allocations: 7.922 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.3543, allocations: 8.031 kB / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.01e-06/0.3543, allocations: 0 / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3543, allocations: 0 / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3543, allocations: 0 / 1.309 GB, free: 11.93 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.3544, allocations: 93.02 kB / 1.309 GB, free: 11.82 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.668e-05/0.3544, allocations: 96.92 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.3545, allocations: 4 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.056e-05/0.3545, allocations: 0 / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/0.3545, allocations: 4.031 kB / 1.309 GB, free: 11.7 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.3545, allocations: 4 kB / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of sorting global known variables: time 7.121e-05/0.3546, allocations: 101.8 kB / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.3546, allocations: 0 / 1.309 GB, free: 11.59 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002962/0.3549, allocations: 67.8 kB / 1.31 GB, free: 11.53 MB / 1.014 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.0007267/0.3556, allocations: 0.7059 MB / 1.31 GB, free: 10.79 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.3557, allocations: 59.97 kB / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3557, allocations: 0 / 1.31 GB, free: 10.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 2.472e-05/0.3558, allocations: 20 kB / 1.31 GB, free: 10.71 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002674/0.356, allocations: 31.53 kB / 1.31 GB, free: 10.69 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.3578, allocations: 1.531 MB / 1.312 GB, free: 9.074 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003938/0.3582, allocations: 0.6885 MB / 1.313 GB, free: 8.359 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.928e-05/0.3582, allocations: 4 kB / 1.313 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/0.3582, allocations: 23.42 kB / 1.313 GB, free: 8.332 MB / 1.014 GB Notification: Performance of SimCode: time 1.072e-06/0.3582, allocations: 0 / 1.313 GB, free: 8.332 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.3854, allocations: 3.409 MB / 1.316 GB, free: 5.145 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.988/8.374, allocations: 14.53 kB / 1.316 GB, free: 5.133 MB / 1.014 GB " [Timeout remaining time 292] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Characteristics.Validation.NormalizedPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.743194674141705]