Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001862/0.001862, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002342/0.002342, allocations: 216.8 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.491/1.491, allocations: 230.6 MB / 256 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.261/3.261, allocations: 0.505 GB / 0.8101 GB, free: 22.05 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002008/0.002008, allocations: 66.41 kB / 1.177 GB, free: 17.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.341/0.343, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower): time 0.003211/0.3463, allocations: 1.792 MB / 1.355 GB, free: 6.637 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002/0.3465, allocations: 83.67 kB / 1.355 GB, free: 6.555 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.657e-05/0.3465, allocations: 4 kB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.333e-05/0.3466, allocations: 7.875 kB / 1.355 GB, free: 6.543 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.134e-05/0.3467, allocations: 15.8 kB / 1.355 GB, free: 6.527 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001159/0.3468, allocations: 31.95 kB / 1.355 GB, free: 6.496 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.000178/0.3469, allocations: 111.7 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.3471, allocations: 39.86 kB / 1.355 GB, free: 6.352 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 8.885e-05/0.3472, allocations: 47.83 kB / 1.355 GB, free: 6.305 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.12e-05/0.3473, allocations: 51.77 kB / 1.355 GB, free: 6.254 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.851e-05/0.3473, allocations: 16 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 2.024e-05/0.3474, allocations: 8 kB / 1.355 GB, free: 6.23 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 3.562e-05/0.3474, allocations: 27.92 kB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 6.307e-05/0.3474, allocations: 47.73 kB / 1.355 GB, free: 6.156 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.3476, allocations: 115.5 kB / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.3476, allocations: 0 / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.384e-06/0.3476, allocations: 0 / 1.355 GB, free: 6.043 MB / 1.045 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.3476, allocations: 4 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007073/0.3484, allocations: 357.8 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.3484, allocations: 8.031 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.833e-05/0.3484, allocations: 38.75 kB / 1.356 GB, free: 5.602 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.3485, allocations: 8.891 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.3487, allocations: 150.2 kB / 1.356 GB, free: 5.422 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3487, allocations: 8.375 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.3487, allocations: 4.375 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000373/0.3491, allocations: 128.2 kB / 1.356 GB, free: 5.281 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.3491, allocations: 3.938 kB / 1.356 GB, free: 5.277 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.3491, allocations: 8 kB / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3491, allocations: 0 / 1.356 GB, free: 5.27 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004446/0.3496, allocations: 123.9 kB / 1.356 GB, free: 5.148 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005551/0.3501, allocations: 359.5 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.3505, allocations: 82.52 kB / 1.356 GB, free: 4.664 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.3507, allocations: 60.92 kB / 1.356 GB, free: 4.602 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.545e-05/0.3507, allocations: 3.938 kB / 1.356 GB, free: 4.598 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/0.3508, allocations: 38.56 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.3508, allocations: 0 / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=6): time 0.0007414/0.3515, allocations: 193.4 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.3516, allocations: 55.41 kB / 1.357 GB, free: 4.289 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.3517, allocations: 127.9 kB / 1.357 GB, free: 4.156 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3517, allocations: 25.7 kB / 1.357 GB, free: 4.125 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.752e-05/0.3518, allocations: 112.1 kB / 1.357 GB, free: 4.012 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.3519, allocations: 19.86 kB / 1.357 GB, free: 3.992 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.934e-05/0.3519, allocations: 17.72 kB / 1.357 GB, free: 3.969 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3521, allocations: 314.8 kB / 1.357 GB, free: 3.652 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.3523, allocations: 51.94 kB / 1.357 GB, free: 3.602 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.3525, allocations: 56.27 kB / 1.357 GB, free: 3.547 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003836/0.3529, allocations: 108.8 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.3529, allocations: 0 / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004686/0.3533, allocations: 149.5 kB / 1.358 GB, free: 3.285 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.3534, allocations: 4 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3534, allocations: 0 / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.246e-05/0.3534, allocations: 7.938 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.3536, allocations: 23.97 kB / 1.358 GB, free: 3.25 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.3536, allocations: 4 kB / 1.358 GB, free: 3.246 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3537, allocations: 23.91 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.3537, allocations: 4 kB / 1.358 GB, free: 3.219 MB / 1.045 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 (6): * Single equations (assignments): 6 * 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 prepare postOptimizeDAE: time 0.0001278/0.3538, allocations: 117.8 kB / 1.358 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.341e-05/0.3538, allocations: 7.953 kB / 1.358 GB, free: 3.086 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.994e-05/0.3539, allocations: 12.31 kB / 1.358 GB, free: 3.07 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.466e-06/0.3539, allocations: 4 kB / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3539, allocations: 0 / 1.358 GB, free: 3.066 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3539, allocations: 7.984 kB / 1.358 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.3542, allocations: 164.7 kB / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.3542, allocations: 0 / 1.358 GB, free: 2.855 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001648/0.3543, allocations: 35.91 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.3543, allocations: 0 / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.3543, allocations: 3.938 kB / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3543, allocations: 0 / 1.358 GB, free: 2.816 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.3544, allocations: 3.984 kB / 1.358 GB, free: 2.812 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005097/0.3549, allocations: 243.4 kB / 1.358 GB, free: 2.559 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.3549, allocations: 3.953 kB / 1.358 GB, free: 2.555 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.3549, allocations: 8.062 kB / 1.358 GB, free: 2.547 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.355, allocations: 23.97 kB / 1.358 GB, free: 2.523 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.678e-05/0.3551, allocations: 11.98 kB / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.739e-06/0.3551, allocations: 0 / 1.358 GB, free: 2.512 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.39e-05/0.3552, allocations: 100.9 kB / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3552, allocations: 0 / 1.358 GB, free: 2.414 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002392/0.3554, allocations: 23.89 kB / 1.359 GB, free: 2.391 MB / 1.045 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 (6): * Single equations (assignments): 6 * 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.0009223/0.3563, allocations: 0.7709 MB / 1.359 GB, free: 1.594 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004871/0.3568, allocations: 115.8 kB / 1.359 GB, free: 1.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.3568, allocations: 4 kB / 1.359 GB, free: 1.477 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002162/0.357, allocations: 63.81 kB / 1.359 GB, free: 1.414 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004334/0.3575, allocations: 11.98 kB / 1.359 GB, free: 1.402 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.3601, allocations: 1.588 MB / 1.361 GB, free: 15.73 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000349/0.3605, allocations: 0.6963 MB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.495e-05/0.3605, allocations: 4 kB / 1.362 GB, free: 15.01 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.133e-05/0.3606, allocations: 31.42 kB / 1.362 GB, free: 14.98 MB / 1.061 GB Notification: Performance of SimCode: time 7.71e-07/0.3606, allocations: 7.938 kB / 1.362 GB, free: 14.97 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03009/0.3907, allocations: 2.376 MB / 1.364 GB, free: 12.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.44, allocations: 9.594 kB / 1.364 GB, free: 12.73 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv --start-time 0 --stop-time 60 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable pwr.QSen_flow in file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv. Warning: Get data of variable pwr.QSen_flow from file Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.InputPower_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.288654855000004]