Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001328/0.001328, allocations: 104.5 kB / 16.45 MB, free: 6.449 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.001736/0.001736, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.451/1.451, allocations: 230.6 MB / 252.8 MB, free: 9.125 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.18/3.18, allocations: 0.505 GB / 0.8066 GB, free: 23.08 MB / 0.6231 GB " [Timeout remaining time 177] 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.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",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.002051/0.002051, allocations: 68.66 kB / 1.172 GB, free: 17.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.347, allocations: 180.2 MB / 1.348 GB, free: 9.984 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005928/0.3529, allocations: 4.104 MB / 1.352 GB, free: 5.852 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0002182/0.3531, allocations: 159.5 kB / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.336e-05/0.3532, allocations: 0 / 1.352 GB, free: 5.695 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 9.09e-05/0.3532, allocations: 7.922 kB / 1.352 GB, free: 5.688 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.036e-05/0.3533, allocations: 11.92 kB / 1.352 GB, free: 5.676 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003169/0.3536, allocations: 83.75 kB / 1.352 GB, free: 5.594 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 8.258e-05/0.3537, allocations: 27.86 kB / 1.352 GB, free: 5.566 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.3538, allocations: 11.98 kB / 1.352 GB, free: 5.555 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.672e-05/0.3538, allocations: 11.98 kB / 1.352 GB, free: 5.543 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.983e-05/0.3539, allocations: 15.92 kB / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.05e-05/0.3539, allocations: 0 / 1.352 GB, free: 5.527 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002062/0.3541, allocations: 79.7 kB / 1.352 GB, free: 5.449 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.3541, allocations: 11.98 kB / 1.352 GB, free: 5.438 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.581e-05/0.3541, allocations: 7.938 kB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001453/0.3543, allocations: 68.12 kB / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3543, allocations: 0 / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3543, allocations: 0 / 1.352 GB, free: 5.363 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3543, allocations: 3.938 kB / 1.352 GB, free: 5.359 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004078/0.3547, allocations: 335.4 kB / 1.353 GB, free: 4.984 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3548, allocations: 15.98 kB / 1.353 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.724e-05/0.3548, allocations: 34.75 kB / 1.353 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.3548, allocations: 0.9375 kB / 1.353 GB, free: 4.926 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/0.355, allocations: 168.4 kB / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.756e-05/0.355, allocations: 30.27 kB / 1.353 GB, free: 4.688 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.355, allocations: 4.125 kB / 1.353 GB, free: 4.684 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001259/0.3552, allocations: 49.62 kB / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3552, allocations: 0 / 1.353 GB, free: 4.629 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.243e-05/0.3552, allocations: 3.984 kB / 1.353 GB, free: 4.625 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.749e-05/0.3552, allocations: 0 / 1.353 GB, free: 4.625 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.209e-05/0.3552, allocations: 15.92 kB / 1.353 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005027/0.3557, allocations: 342 kB / 1.353 GB, free: 4.207 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 4.437e-05/0.3558, allocations: 22.52 kB / 1.353 GB, free: 4.176 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.537e-05/0.3558, allocations: 4.859 kB / 1.353 GB, free: 4.168 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-05/0.3559, allocations: 85.17 kB / 1.353 GB, free: 4.066 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.733e-05/0.3559, allocations: 34.55 kB / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.3559, allocations: 0 / 1.353 GB, free: 4.023 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.0001453/0.3561, allocations: 33.8 kB / 1.353 GB, free: 3.984 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3561, allocations: 55.44 kB / 1.353 GB, free: 3.918 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001112/0.3562, allocations: 109.8 kB / 1.354 GB, free: 3.801 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.3562, allocations: 29.64 kB / 1.354 GB, free: 3.766 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.3563, allocations: 84.09 kB / 1.354 GB, free: 3.68 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-06/0.3563, allocations: 0 / 1.354 GB, free: 3.68 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.3563, allocations: 17.72 kB / 1.354 GB, free: 3.656 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000154/0.3565, allocations: 318.8 kB / 1.354 GB, free: 3.336 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.799e-05/0.3565, allocations: 8 kB / 1.354 GB, free: 3.328 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.898e-05/0.3565, allocations: 17.72 kB / 1.354 GB, free: 3.305 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.208e-05/0.3566, allocations: 21.7 kB / 1.354 GB, free: 3.277 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3566, allocations: 0 / 1.354 GB, free: 3.277 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001142/0.3567, allocations: 49.59 kB / 1.354 GB, free: 3.223 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3567, allocations: 6.344 kB / 1.354 GB, free: 3.219 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.3567, allocations: 4.062 kB / 1.354 GB, free: 3.215 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.3567, allocations: 7.984 kB / 1.354 GB, free: 3.207 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.652e-05/0.3568, allocations: 4 kB / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3568, allocations: 0 / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.715e-05/0.3568, allocations: 0 / 1.354 GB, free: 3.203 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.3568, allocations: 4 kB / 1.354 GB, free: 3.199 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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): 3 * 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 8.586e-05/0.3569, allocations: 113.8 kB / 1.354 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.3569, allocations: 4 kB / 1.354 GB, free: 3.074 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.357, allocations: 120.9 kB / 1.354 GB, free: 2.945 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.479e-05/0.3571, allocations: 188.2 kB / 1.354 GB, free: 2.754 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.018e-05/0.3572, allocations: 184.2 kB / 1.355 GB, free: 2.566 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.494e-05/0.3573, allocations: 176.3 kB / 1.355 GB, free: 2.387 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002623/0.3575, allocations: 413.1 kB / 1.355 GB, free: 1.926 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.995e-05/0.3576, allocations: 109 kB / 1.355 GB, free: 1.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.408e-05/0.3576, allocations: 105 kB / 1.355 GB, free: 1.703 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.326e-05/0.3577, allocations: 188.1 kB / 1.356 GB, free: 1.512 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.451e-05/0.3578, allocations: 176.3 kB / 1.356 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.58e-05/0.3579, allocations: 180.2 kB / 1.356 GB, free: 1.148 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.989e-05/0.3579, allocations: 176.3 kB / 1.356 GB, free: 0.9688 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000167/0.3581, allocations: 319.7 kB / 1.356 GB, free: 0.6328 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 8.695e-05/0.3582, allocations: 182 kB / 1.357 GB, free: 440 kB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.444e-05/0.3583, allocations: 180.2 kB / 1.357 GB, free: 252 kB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001625/0.3584, allocations: 113 kB / 1.357 GB, free: 132 kB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.691e-05/0.3585, allocations: 184.2 kB / 1.357 GB, free: 15.94 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/0.3586, allocations: 101 kB / 1.357 GB, free: 15.84 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.3586, allocations: 87.27 kB / 1.357 GB, free: 15.75 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3586, allocations: 0 / 1.357 GB, free: 15.75 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002486/0.3589, allocations: 23.88 kB / 1.357 GB, free: 15.73 MB / 1.061 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 (0): * Single equations (assignments): 0 * 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.0005312/0.3594, allocations: 0.8321 MB / 1.358 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 7.488e-05/0.3595, allocations: 8 kB / 1.358 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3595, allocations: 0 / 1.358 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.3595, allocations: 0 / 1.358 GB, free: 14.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/0.36, allocations: 457.1 kB / 1.358 GB, free: 14.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.3612, allocations: 1.333 MB / 1.36 GB, free: 12.99 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.3616, allocations: 0.6729 MB / 1.36 GB, free: 12.29 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.845e-05/0.3616, allocations: 8.031 kB / 1.36 GB, free: 12.28 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.3616, allocations: 7.438 kB / 1.36 GB, free: 12.28 MB / 1.061 GB Notification: Performance of SimCode: time 2.9e-07/0.3616, allocations: 4 kB / 1.36 GB, free: 12.27 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02701/0.3886, allocations: 1.496 MB / 1.362 GB, free: 10.89 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.636/8.025, allocations: 0 / 1.362 GB, free: 10.89 MB / 1.061 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.596803391119465]