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.0009883/0.0009883, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.001117/0.001117, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8797/0.8797, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.627/1.627, allocations: 359 MB / 0.6037 GB, free: 11.09 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.523e-06/1.523e-06, allocations: 0 / 0.9505 GB, free: 3.508 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.492e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003127/0.003142, allocations: 3.229 MB / 0.9536 GB, free: 248 kB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 5.871e-05/0.0032, allocations: 47.8 kB / 0.9537 GB, free: 200 kB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.003221, allocations: 4 kB / 0.9537 GB, free: 196 kB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.463e-05/0.003316, allocations: 0 / 0.9537 GB, free: 196 kB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.763e-05/0.003383, allocations: 23.8 kB / 0.9537 GB, free: 172 kB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004172/0.003801, allocations: 198.2 kB / 0.9539 GB, free: 15.98 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.202e-05/0.003873, allocations: 43.78 kB / 0.9539 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 3.256e-05/0.003905, allocations: 4 kB / 0.954 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 4.698e-05/0.003952, allocations: 19.92 kB / 0.954 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.298e-05/0.004015, allocations: 11.97 kB / 0.954 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.004028, allocations: 4 kB / 0.954 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001917/0.00422, allocations: 135.5 kB / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.206e-05/0.004262, allocations: 0 / 0.9541 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 1.791e-05/0.00428, allocations: 7.984 kB / 0.9541 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001705/0.00445, allocations: 131.7 kB / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.194e-06/0.004452, allocations: 0 / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of FrontEnd: time 8.82e-07/0.004453, allocations: 0 / 0.9542 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.647e-06/0.004457, allocations: 4 kB / 0.9543 GB, free: 15.62 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.0002864/0.004743, allocations: 274.1 kB / 0.9545 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.004778, allocations: 12.02 kB / 0.9545 GB, free: 15.31 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.507e-05/0.004803, allocations: 38.75 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.68e-05/0.00483, allocations: 0.9375 kB / 0.9546 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.604e-05/0.004896, allocations: 105.8 kB / 0.9547 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.233e-05/0.004948, allocations: 51.97 kB / 0.9547 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.003e-06/0.004955, allocations: 8.25 kB / 0.9547 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001037/0.005059, allocations: 75.94 kB / 0.9548 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.005067, allocations: 3.938 kB / 0.9548 GB, free: 14.98 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.005075, allocations: 4 kB / 0.9548 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.656e-05/0.005092, allocations: 0 / 0.9548 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.306e-05/0.005125, allocations: 11.98 kB / 0.9548 GB, free: 14.96 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003719/0.005497, allocations: 267.9 kB / 0.9551 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.243e-05/0.005529, allocations: 18.52 kB / 0.9551 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.159e-05/0.005541, allocations: 8.844 kB / 0.9551 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.198e-05/0.005593, allocations: 39.98 kB / 0.9551 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.952e-05/0.005612, allocations: 38.55 kB / 0.9552 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.005613, allocations: 0 / 0.9552 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001101/0.005723, allocations: 33.7 kB / 0.9552 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.005747, allocations: 55.41 kB / 0.9553 GB, free: 14.43 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.46e-05/0.005802, allocations: 101.8 kB / 0.9554 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.005812, allocations: 29.64 kB / 0.9554 GB, free: 14.28 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.005847, allocations: 92.09 kB / 0.9555 GB, free: 14.19 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.398e-06/0.005851, allocations: 3.953 kB / 0.9555 GB, free: 14.18 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.171e-05/0.005873, allocations: 13.72 kB / 0.9555 GB, free: 14.16 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 6.737e-05/0.00594, allocations: 318.8 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.869e-06/0.00595, allocations: 4 kB / 0.9558 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.005966, allocations: 13.72 kB / 0.9558 GB, free: 13.82 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.664e-05/0.005993, allocations: 25.78 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.005994, allocations: 4 kB / 0.9558 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.785e-05/0.006042, allocations: 49.62 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.006052, allocations: 4 kB / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.006056, allocations: 0 / 0.9559 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.006065, allocations: 4 kB / 0.9559 GB, free: 13.72 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.006101, allocations: 7.984 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.92e-06/0.006106, allocations: 4 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.123e-05/0.006117, allocations: 4 kB / 0.9559 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.006124, allocations: 8 kB / 0.9559 GB, free: 13.7 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 4.643e-05/0.006171, allocations: 109.8 kB / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.259e-05/0.006183, allocations: 4 kB / 0.956 GB, free: 13.58 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.78e-05/0.006261, allocations: 131.8 kB / 0.9561 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.474e-05/0.006296, allocations: 176.3 kB / 0.9563 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.872e-05/0.006335, allocations: 184.1 kB / 0.9565 GB, free: 13.08 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.584e-05/0.00637, allocations: 180.3 kB / 0.9567 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001303/0.006501, allocations: 384.2 kB / 0.957 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.008e-05/0.006521, allocations: 101 kB / 0.9571 GB, free: 12.36 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.115e-05/0.006542, allocations: 105 kB / 0.9572 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.156e-05/0.006584, allocations: 184.2 kB / 0.9574 GB, free: 12.07 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.122e-05/0.006625, allocations: 184.3 kB / 0.9576 GB, free: 11.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.58e-05/0.006661, allocations: 180.2 kB / 0.9577 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.372e-05/0.006694, allocations: 180.3 kB / 0.9579 GB, free: 11.51 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.287e-05/0.006777, allocations: 311.7 kB / 0.9582 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.58e-05/0.006803, allocations: 105 kB / 0.9583 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.521e-05/0.006848, allocations: 188.4 kB / 0.9585 GB, free: 10.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.952e-05/0.006938, allocations: 109 kB / 0.9586 GB, free: 10.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.905e-05/0.006977, allocations: 176.3 kB / 0.9588 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.006999, allocations: 108.9 kB / 0.9589 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.151e-05/0.007031, allocations: 87.28 kB / 0.959 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.007031, allocations: 0 / 0.959 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.00018/0.007211, allocations: 35.86 kB / 0.959 GB, free: 10.36 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.0003454/0.007556, allocations: 0.8671 MB / 0.9598 GB, free: 9.457 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 6.204e-05/0.007618, allocations: 15.94 kB / 0.9599 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.00762, allocations: 0 / 0.9599 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.22e-07/0.007621, allocations: 0 / 0.9599 GB, free: 9.441 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002798/0.007901, allocations: 455.7 kB / 0.9603 GB, free: 8.992 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007797/0.00868, allocations: 1.343 MB / 0.9616 GB, free: 7.559 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.964e-05/0.00872, allocations: 59.48 kB / 0.9617 GB, free: 7.48 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.054e-05/0.00875, allocations: 7.984 kB / 0.9617 GB, free: 7.473 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.97e-05/0.00877, allocations: 8.5 kB / 0.9617 GB, free: 7.465 MB / 0.9167 GB Notification: Performance of SimCode: time 5.91e-07/0.008771, allocations: 4 kB / 0.9617 GB, free: 7.461 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01449/0.02326, allocations: 2.84 MB / 0.9644 GB, free: 4.848 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.989/7.012, allocations: 3.938 kB / 0.9645 GB, free: 4.844 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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.mat","/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: 10.892515235580504]