Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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.001294/0.001294, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009292/0.0009292, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.941/0.941, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.737/1.737, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.9505 GB, free: 3.52 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.945e-05/2.088e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.516 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003526/0.003547, allocations: 3.229 MB / 0.9537 GB, free: 260 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 6.758e-05/0.003615, allocations: 43.81 kB / 0.9537 GB, free: 216 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.342e-05/0.003638, allocations: 0 / 0.9537 GB, free: 216 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001051/0.003743, allocations: 11.98 kB / 0.9537 GB, free: 204 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.407e-05/0.003817, allocations: 11.86 kB / 0.9537 GB, free: 192 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004651/0.004282, allocations: 202.9 kB / 0.9539 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.666e-05/0.004359, allocations: 39.72 kB / 0.9539 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.656e-05/0.004396, allocations: 4 kB / 0.954 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.857e-05/0.004444, allocations: 15.97 kB / 0.954 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 7.687e-05/0.004521, allocations: 15.92 kB / 0.954 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.233e-05/0.004533, allocations: 0 / 0.954 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002085/0.004742, allocations: 135.5 kB / 0.9541 GB, free: 15.79 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.811e-05/0.00479, allocations: 15.92 kB / 0.9541 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.004811, allocations: 11.98 kB / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.000188/0.004999, allocations: 123.7 kB / 0.9543 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.005003, allocations: 4 kB / 0.9543 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.022e-06/0.005004, allocations: 0 / 0.9543 GB, free: 15.63 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.005009, allocations: 0 / 0.9543 GB, free: 15.63 MB / 0.9167 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.0003306/0.005339, allocations: 278.1 kB / 0.9545 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.005375, allocations: 8.031 kB / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.826e-05/0.005403, allocations: 30.75 kB / 0.9546 GB, free: 15.29 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.953e-05/0.005432, allocations: 4.938 kB / 0.9546 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.014e-05/0.005502, allocations: 105.8 kB / 0.9547 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.476e-05/0.005557, allocations: 55.97 kB / 0.9547 GB, free: 15.09 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.005565, allocations: 4.312 kB / 0.9547 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001077/0.005672, allocations: 67.95 kB / 0.9548 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.005679, allocations: 3.938 kB / 0.9548 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.005688, allocations: 3.984 kB / 0.9548 GB, free: 15 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.005705, allocations: 4 kB / 0.9548 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.536e-05/0.00574, allocations: 8 kB / 0.9548 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.006142, allocations: 267.9 kB / 0.9551 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.477e-05/0.006177, allocations: 22.52 kB / 0.9551 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.306e-05/0.00619, allocations: 8.859 kB / 0.9551 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.733e-05/0.006248, allocations: 40.02 kB / 0.9551 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.006268, allocations: 34.5 kB / 0.9552 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.713e-06/0.006269, allocations: 3.984 kB / 0.9552 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.006392, allocations: 37.7 kB / 0.9552 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.006418, allocations: 51.41 kB / 0.9553 GB, free: 14.45 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.113e-05/0.006479, allocations: 105.8 kB / 0.9554 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.13e-05/0.006491, allocations: 33.64 kB / 0.9554 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.006524, allocations: 84.09 kB / 0.9555 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.729e-06/0.006529, allocations: 4.078 kB / 0.9555 GB, free: 14.2 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.512e-05/0.006554, allocations: 21.7 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.176e-05/0.006626, allocations: 318.8 kB / 0.9558 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.006638, allocations: 4 kB / 0.9558 GB, free: 13.85 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.741e-05/0.006655, allocations: 13.72 kB / 0.9558 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.886e-05/0.006684, allocations: 29.64 kB / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.006686, allocations: 0 / 0.9558 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.143e-05/0.006737, allocations: 45.64 kB / 0.9559 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.239e-05/0.00675, allocations: 12.05 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.006754, allocations: 4 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.006765, allocations: 0 / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.943e-05/0.006804, allocations: 4 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.00681, allocations: 4 kB / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.198e-05/0.006822, allocations: 0 / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.00683, allocations: 0 / 0.9559 GB, free: 13.72 MB / 0.9167 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 5.217e-05/0.006882, allocations: 113.8 kB / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.006895, allocations: 0 / 0.956 GB, free: 13.6 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.016e-05/0.006985, allocations: 124.9 kB / 0.9561 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.19e-05/0.007027, allocations: 184.3 kB / 0.9563 GB, free: 13.29 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.235e-05/0.00707, allocations: 184.1 kB / 0.9565 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-05/0.007109, allocations: 180.2 kB / 0.9567 GB, free: 12.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.007252, allocations: 384.1 kB / 0.957 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.386e-05/0.007276, allocations: 101 kB / 0.9571 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.33e-05/0.0073, allocations: 109 kB / 0.9572 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.834e-05/0.007348, allocations: 184.2 kB / 0.9574 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.416e-05/0.007392, allocations: 176.3 kB / 0.9576 GB, free: 11.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-05/0.007432, allocations: 184.2 kB / 0.9577 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.972e-05/0.007471, allocations: 176.3 kB / 0.9579 GB, free: 11.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.007577, allocations: 315.7 kB / 0.9582 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.951e-05/0.007607, allocations: 116.9 kB / 0.9583 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-05/0.007662, allocations: 184.2 kB / 0.9585 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.823e-05/0.00776, allocations: 105 kB / 0.9586 GB, free: 10.79 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.007806, allocations: 180.3 kB / 0.9588 GB, free: 10.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.378e-05/0.00783, allocations: 104.9 kB / 0.9589 GB, free: 10.49 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.604e-05/0.007866, allocations: 91.27 kB / 0.959 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007866, allocations: 0 / 0.959 GB, free: 10.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001962/0.008062, allocations: 31.88 kB / 0.959 GB, free: 10.37 MB / 0.9167 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.0005372/0.008599, allocations: 0.8741 MB / 0.9598 GB, free: 9.469 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.819e-05/0.008657, allocations: 11.94 kB / 0.9599 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.008659, allocations: 0 / 0.9599 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.61e-07/0.00866, allocations: 0 / 0.9599 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003101/0.00897, allocations: 463.8 kB / 0.9603 GB, free: 9 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007214/0.009691, allocations: 1.332 MB / 0.9616 GB, free: 7.578 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.217e-05/0.009734, allocations: 59.34 kB / 0.9617 GB, free: 7.5 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.213e-05/0.009766, allocations: 4 kB / 0.9617 GB, free: 7.496 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.2e-05/0.009788, allocations: 8.922 kB / 0.9617 GB, free: 7.488 MB / 0.9167 GB Notification: Performance of SimCode: time 6.12e-07/0.009788, allocations: 4 kB / 0.9617 GB, free: 7.484 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.02636, allocations: 2.831 MB / 0.9644 GB, free: 4.875 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.863/6.889, allocations: 10.81 kB / 0.9644 GB, free: 4.867 MB / 0.9167 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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: 11.134671297855675]