Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001709/0.001709, allocations: 107.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001948/0.001948, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.829/2.829, allocations: 497.2 MB / 0.7812 GB, free: 11.99 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003281/0.003281, allocations: 63.91 kB / 1.134 GB, free: 13.18 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.082/1.086, allocations: 173.9 MB / 1.304 GB, free: 32.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003637/1.089, allocations: 3.302 MB / 1.307 GB, free: 29.75 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 7.94e-05/1.089, allocations: 65.17 kB / 1.307 GB, free: 29.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.262e-05/1.089, allocations: 0 / 1.307 GB, free: 29.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.939e-05/1.089, allocations: 0 / 1.307 GB, free: 29.7 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 6.068e-05/1.089, allocations: 9.75 kB / 1.307 GB, free: 29.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004248/1.09, allocations: 191.4 kB / 1.307 GB, free: 29.6 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 6.684e-05/1.09, allocations: 27.91 kB / 1.307 GB, free: 29.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/1.09, allocations: 10.8 kB / 1.307 GB, free: 29.59 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 3.163e-05/1.09, allocations: 16.91 kB / 1.307 GB, free: 29.58 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/1.09, allocations: 8.594 kB / 1.307 GB, free: 29.58 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.038e-05/1.09, allocations: 0 / 1.307 GB, free: 29.58 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00027/1.09, allocations: 183.2 kB / 1.308 GB, free: 29.51 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/1.09, allocations: 14.73 kB / 1.308 GB, free: 29.5 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.164e-05/1.09, allocations: 12.38 kB / 1.308 GB, free: 29.49 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002159/1.091, allocations: 142.3 kB / 1.308 GB, free: 29.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.576e-06/1.091, allocations: 0 / 1.308 GB, free: 29.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/1.091, allocations: 0 / 1.308 GB, free: 29.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.481e-06/1.091, allocations: 2.875 kB / 1.308 GB, free: 29.45 MB / 1.061 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.0003137/1.091, allocations: 345 kB / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/1.091, allocations: 8.906 kB / 1.308 GB, free: 29.09 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.902e-05/1.091, allocations: 33.56 kB / 1.308 GB, free: 29.05 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/1.091, allocations: 8.891 kB / 1.308 GB, free: 29.04 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.645e-05/1.091, allocations: 163 kB / 1.308 GB, free: 28.85 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.585e-05/1.091, allocations: 26.27 kB / 1.308 GB, free: 28.82 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.724e-06/1.091, allocations: 7.094 kB / 1.308 GB, free: 28.81 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001065/1.091, allocations: 49.19 kB / 1.308 GB, free: 28.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.091, allocations: 0 / 1.308 GB, free: 28.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/1.091, allocations: 0 / 1.308 GB, free: 28.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.417e-05/1.091, allocations: 0 / 1.308 GB, free: 28.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.652e-05/1.091, allocations: 14.97 kB / 1.308 GB, free: 28.77 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004517/1.092, allocations: 0.5921 MB / 1.309 GB, free: 28.11 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 2.996e-05/1.092, allocations: 17.55 kB / 1.309 GB, free: 28.08 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.147e-05/1.092, allocations: 4.859 kB / 1.309 GB, free: 28.07 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001362/1.092, allocations: 347.6 kB / 1.309 GB, free: 27.69 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/1.092, allocations: 30.56 kB / 1.309 GB, free: 27.65 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.092, allocations: 7.938 kB / 1.309 GB, free: 27.64 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001196/1.092, allocations: 34.36 kB / 1.309 GB, free: 27.61 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.957e-05/1.092, allocations: 58.67 kB / 1.31 GB, free: 27.54 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/1.092, allocations: 103.6 kB / 1.31 GB, free: 27.44 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 8.085e-06/1.092, allocations: 25.7 kB / 1.31 GB, free: 27.41 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.351e-05/1.092, allocations: 91.42 kB / 1.31 GB, free: 27.32 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.639e-06/1.092, allocations: 6.922 kB / 1.31 GB, free: 27.31 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/1.092, allocations: 12.62 kB / 1.31 GB, free: 27.3 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.439e-05/1.092, allocations: 318.9 kB / 1.31 GB, free: 26.98 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.359e-05/1.092, allocations: 10.14 kB / 1.31 GB, free: 26.97 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.666e-05/1.092, allocations: 19.12 kB / 1.31 GB, free: 26.95 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.591e-05/1.092, allocations: 22.72 kB / 1.31 GB, free: 26.93 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/1.092, allocations: 0 / 1.31 GB, free: 26.93 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.914e-05/1.092, allocations: 55.06 kB / 1.31 GB, free: 26.89 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.025e-05/1.092, allocations: 5.375 kB / 1.31 GB, free: 26.89 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/1.092, allocations: 0 / 1.31 GB, free: 26.89 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/1.092, allocations: 4 kB / 1.31 GB, free: 26.89 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.904e-05/1.092, allocations: 5.562 kB / 1.31 GB, free: 26.89 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/1.092, allocations: 0 / 1.31 GB, free: 26.89 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/1.092, allocations: 2.594 kB / 1.31 GB, free: 26.89 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/1.092, allocations: 0 / 1.31 GB, free: 26.89 MB / 1.061 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.068e-05/1.093, allocations: 116.6 kB / 1.31 GB, free: 26.77 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.661e-05/1.093, allocations: 13.98 kB / 1.31 GB, free: 26.76 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.303e-05/1.093, allocations: 121.8 kB / 1.31 GB, free: 26.63 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.979e-05/1.093, allocations: 176.3 kB / 1.311 GB, free: 26.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.218e-05/1.093, allocations: 186.6 kB / 1.311 GB, free: 26.27 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.113e-05/1.093, allocations: 180.3 kB / 1.311 GB, free: 26.09 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000118/1.093, allocations: 411.4 kB / 1.311 GB, free: 25.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/1.093, allocations: 104.9 kB / 1.311 GB, free: 25.52 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.209e-05/1.093, allocations: 103.9 kB / 1.312 GB, free: 25.42 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.02e-05/1.093, allocations: 183.5 kB / 1.312 GB, free: 25.23 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/1.093, allocations: 176.4 kB / 1.312 GB, free: 25.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.836e-05/1.093, allocations: 179.1 kB / 1.312 GB, free: 24.88 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.89e-05/1.093, allocations: 192.2 kB / 1.312 GB, free: 24.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.723e-05/1.093, allocations: 308.7 kB / 1.313 GB, free: 24.36 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/1.093, allocations: 182.1 kB / 1.313 GB, free: 24.16 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.342e-05/1.093, allocations: 187.5 kB / 1.313 GB, free: 23.97 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/1.093, allocations: 111.9 kB / 1.313 GB, free: 23.86 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.276e-05/1.093, allocations: 179.3 kB / 1.313 GB, free: 23.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/1.093, allocations: 108.3 kB / 1.313 GB, free: 23.57 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.493e-05/1.093, allocations: 84.81 kB / 1.313 GB, free: 23.49 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.093, allocations: 0 / 1.313 GB, free: 23.49 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002518/1.093, allocations: 37.42 kB / 1.313 GB, free: 23.48 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.000305/1.094, allocations: 0.8727 MB / 1.314 GB, free: 22.64 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.106e-05/1.094, allocations: 9.781 kB / 1.314 GB, free: 22.64 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/1.094, allocations: 0 / 1.314 GB, free: 22.64 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.783e-06/1.094, allocations: 2.875 kB / 1.314 GB, free: 22.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/1.094, allocations: 462.1 kB / 1.315 GB, free: 22.19 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000656/1.095, allocations: 1.331 MB / 1.316 GB, free: 20.85 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.34e-05/1.095, allocations: 0.6746 MB / 1.317 GB, free: 20.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.592e-05/1.095, allocations: 9.234 kB / 1.317 GB, free: 20.15 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.932e-05/1.095, allocations: 10.38 kB / 1.317 GB, free: 20.14 MB / 1.061 GB Notification: Performance of SimCode: time 2.6e-07/1.095, allocations: 0 / 1.317 GB, free: 20.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/1.12, allocations: 2.171 MB / 1.319 GB, free: 19.68 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/9.175, allocations: 9.781 kB / 1.319 GB, free: 19.68 MB / 1.061 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.465544572100043]