Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001259/0.001259, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001409/0.001409, allocations: 212.6 kB / 22.25 MB, free: 4.859 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.381/1.381, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.997/2.997, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.001966/0.001966, allocations: 68.77 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3528, allocations: 176.1 MB / 1.325 GB, free: 2.379 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006877/0.3597, allocations: 3.903 MB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002768/0.36, allocations: 155.5 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.36, allocations: 0 / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001379/0.3602, allocations: 3.938 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.634e-05/0.3603, allocations: 15.91 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.3608, allocations: 84.88 kB / 1.329 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 9.9e-05/0.3609, allocations: 31.86 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.102e-05/0.3609, allocations: 3.984 kB / 1.329 GB, free: 14.16 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.671e-05/0.361, allocations: 15.98 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.361, allocations: 15.92 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.3611, allocations: 0 / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002102/0.3613, allocations: 47.81 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.758e-05/0.3613, allocations: 11.98 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.448e-05/0.3613, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001773/0.3615, allocations: 72 kB / 1.329 GB, free: 14 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3615, allocations: 7.938 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.394e-06/0.3615, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3615, allocations: 0 / 1.329 GB, free: 13.99 MB / 1.029 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.0004562/0.362, allocations: 262.3 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.362, allocations: 8.031 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.712e-05/0.3621, allocations: 30.75 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.793e-05/0.3621, allocations: 4.938 kB / 1.33 GB, free: 13.65 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3622, allocations: 106.5 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.354e-05/0.3623, allocations: 51.97 kB / 1.33 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.748e-06/0.3623, allocations: 8.125 kB / 1.33 GB, free: 13.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.3625, allocations: 75.31 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.3625, allocations: 0 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.3625, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.012e-05/0.3625, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.77e-05/0.3626, allocations: 11.98 kB / 1.33 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004861/0.3631, allocations: 227.9 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.221e-05/0.3631, allocations: 18.58 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.3631, allocations: 8.797 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.44e-05/0.3632, allocations: 12.05 kB / 1.33 GB, free: 13.03 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.342e-05/0.3632, allocations: 38.56 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3632, allocations: 0 / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001857/0.3634, allocations: 33.66 kB / 1.33 GB, free: 12.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/0.3635, allocations: 55.34 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3636, allocations: 105.8 kB / 1.33 GB, free: 12.77 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.3636, allocations: 25.7 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.711e-05/0.3637, allocations: 88.09 kB / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.011e-06/0.3637, allocations: 0 / 1.33 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.658e-05/0.3638, allocations: 21.7 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.364, allocations: 314.8 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.243e-05/0.364, allocations: 8.062 kB / 1.331 GB, free: 12.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.304e-05/0.364, allocations: 21.72 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.308e-05/0.3641, allocations: 21.7 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3641, allocations: 4 kB / 1.331 GB, free: 12.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000106/0.3642, allocations: 45.88 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/0.3642, allocations: 7.984 kB / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.3642, allocations: 0 / 1.331 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.3642, allocations: 4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.3643, allocations: 4 kB / 1.331 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.3643, allocations: 4.062 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.654e-05/0.3643, allocations: 7.984 kB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.34e-05/0.3643, allocations: 4 kB / 1.331 GB, free: 12.15 MB / 1.029 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 0.0001127/0.3644, allocations: 110.3 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.096e-05/0.3645, allocations: 7.938 kB / 1.331 GB, free: 12.03 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001619/0.3646, allocations: 120.9 kB / 1.331 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001092/0.3647, allocations: 180.3 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001151/0.3648, allocations: 184.2 kB / 1.331 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/0.365, allocations: 180.3 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003006/0.3653, allocations: 384.2 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.697e-05/0.3653, allocations: 104.9 kB / 1.332 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.3654, allocations: 105 kB / 1.332 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.756e-05/0.3655, allocations: 184.2 kB / 1.332 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.095e-05/0.3656, allocations: 180.3 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-05/0.3657, allocations: 180.2 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.095e-05/0.3657, allocations: 184.3 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001889/0.3659, allocations: 307.7 kB / 1.333 GB, free: 9.633 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.509e-05/0.366, allocations: 104.9 kB / 1.333 GB, free: 9.523 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.3661, allocations: 188.2 kB / 1.333 GB, free: 9.332 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001688/0.3663, allocations: 113 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.848e-05/0.3664, allocations: 180.2 kB / 1.334 GB, free: 9.031 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.721e-05/0.3664, allocations: 104.9 kB / 1.334 GB, free: 8.922 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.3665, allocations: 91.27 kB / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3665, allocations: 0 / 1.334 GB, free: 8.832 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002758/0.3668, allocations: 19.88 kB / 1.334 GB, free: 8.812 MB / 1.029 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.0005557/0.3673, allocations: 0.8204 MB / 1.335 GB, free: 7.961 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.988e-05/0.3674, allocations: 11.92 kB / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3674, allocations: 0 / 1.335 GB, free: 7.949 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 3.657e-06/0.3674, allocations: 8.125 kB / 1.335 GB, free: 7.941 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004507/0.3678, allocations: 459.7 kB / 1.335 GB, free: 7.488 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.369, allocations: 1.321 MB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.209e-05/0.3691, allocations: 63.28 kB / 1.337 GB, free: 6 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.511e-05/0.3691, allocations: 7.938 kB / 1.337 GB, free: 5.992 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.138e-05/0.3692, allocations: 11.42 kB / 1.337 GB, free: 5.98 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.3692, allocations: 4 kB / 1.337 GB, free: 5.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.3989, allocations: 2.028 MB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.28, allocations: 4.062 kB / 1.339 GB, free: 4.078 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_12_Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 17.75178998336196]