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.00197/0.00197, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.00225/0.00225, allocations: 214.9 kB / 23.04 MB, free: 5.078 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.505/1.505, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.876/2.876, allocations: 476.7 MB / 0.7715 GB, free: 4.242 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="cs",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.002028/0.002028, allocations: 59.98 kB / 1.118 GB, free: 8.969 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3628, allocations: 169.9 MB / 1.284 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.005337/0.3681, allocations: 3.408 MB / 1.287 GB, free: 368 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001465/0.3683, allocations: 55.78 kB / 1.288 GB, free: 312 kB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.721e-05/0.3683, allocations: 0 / 1.288 GB, free: 312 kB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.3684, allocations: 0 / 1.288 GB, free: 312 kB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.349e-05/0.3685, allocations: 11.94 kB / 1.288 GB, free: 300 kB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006275/0.3691, allocations: 202.2 kB / 1.288 GB, free: 100 kB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.501e-05/0.3692, allocations: 31.92 kB / 1.288 GB, free: 68 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.25e-05/0.3692, allocations: 0 / 1.288 GB, free: 68 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 4.683e-05/0.3693, allocations: 23.84 kB / 1.288 GB, free: 44 kB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.443e-05/0.3694, allocations: 15.98 kB / 1.288 GB, free: 28 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.3694, allocations: 0 / 1.288 GB, free: 28 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004041/0.3698, allocations: 187.5 kB / 1.288 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.708e-05/0.3698, allocations: 4 kB / 1.288 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.3699, allocations: 19.91 kB / 1.288 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002834/0.3702, allocations: 135.9 kB / 1.288 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3702, allocations: 3.984 kB / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.382e-06/0.3702, allocations: 0 / 1.288 GB, free: 15.68 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.3702, allocations: 3.938 kB / 1.288 GB, free: 15.68 MB / 0.9981 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.0004548/0.3706, allocations: 270.2 kB / 1.288 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.63e-05/0.3707, allocations: 8.031 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.196e-05/0.3707, allocations: 12.19 kB / 1.288 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.3707, allocations: 34.75 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.767e-05/0.3708, allocations: 0.9375 kB / 1.288 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.3709, allocations: 106.5 kB / 1.289 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.377e-05/0.371, allocations: 59.89 kB / 1.289 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.371, allocations: 3.938 kB / 1.289 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3711, allocations: 49.62 kB / 1.289 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3711, allocations: 0 / 1.289 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.3712, allocations: 0 / 1.289 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.886e-05/0.3712, allocations: 4 kB / 1.289 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.054e-05/0.3712, allocations: 15.98 kB / 1.289 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.3718, allocations: 252 kB / 1.289 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.312e-05/0.3718, allocations: 18.58 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.981e-05/0.3719, allocations: 8.797 kB / 1.289 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/0.372, allocations: 40.02 kB / 1.289 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.372, allocations: 34.56 kB / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.372, allocations: 0 / 1.289 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001681/0.3722, allocations: 45.64 kB / 1.289 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.3722, allocations: 51.41 kB / 1.289 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.987e-05/0.3723, allocations: 101.8 kB / 1.289 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.3723, allocations: 25.7 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.785e-05/0.3724, allocations: 92.03 kB / 1.289 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.3724, allocations: 8.062 kB / 1.289 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.3724, allocations: 13.72 kB / 1.289 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.3726, allocations: 322.8 kB / 1.29 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.726e-05/0.3726, allocations: 7.938 kB / 1.29 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.409e-05/0.3726, allocations: 13.72 kB / 1.29 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.883e-05/0.3727, allocations: 21.72 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3727, allocations: 4 kB / 1.29 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.133e-05/0.3728, allocations: 49.62 kB / 1.29 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.3728, allocations: 4 kB / 1.29 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3728, allocations: 0 / 1.29 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3728, allocations: 4 kB / 1.29 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.002e-05/0.3728, allocations: 7.984 kB / 1.29 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.3728, allocations: 0 / 1.29 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.113e-05/0.3729, allocations: 3.953 kB / 1.29 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.3729, allocations: 7.938 kB / 1.29 GB, free: 13.8 MB / 0.9981 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 9.049e-05/0.373, allocations: 111.2 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.373, allocations: 4 kB / 1.29 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.3731, allocations: 121.2 kB / 1.29 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.543e-05/0.3732, allocations: 184.3 kB / 1.29 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.754e-05/0.3733, allocations: 184.2 kB / 1.29 GB, free: 13.18 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-05/0.3734, allocations: 180.3 kB / 1.291 GB, free: 12.99 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002729/0.3737, allocations: 384.2 kB / 1.291 GB, free: 12.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.471e-05/0.3737, allocations: 104.9 kB / 1.291 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.395e-05/0.3738, allocations: 109 kB / 1.291 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.329e-05/0.3738, allocations: 184.1 kB / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.492e-05/0.3739, allocations: 184.3 kB / 1.291 GB, free: 11.97 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.47e-05/0.374, allocations: 184.2 kB / 1.292 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.774e-05/0.3741, allocations: 180.3 kB / 1.292 GB, free: 11.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001777/0.3743, allocations: 311.7 kB / 1.292 GB, free: 11.27 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.58e-05/0.3743, allocations: 101 kB / 1.292 GB, free: 11.16 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.3744, allocations: 184.2 kB / 1.292 GB, free: 10.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3746, allocations: 109 kB / 1.292 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.621e-05/0.3747, allocations: 176.3 kB / 1.293 GB, free: 10.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/0.3747, allocations: 112.9 kB / 1.293 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.581e-05/0.3748, allocations: 91.2 kB / 1.293 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.3748, allocations: 3.938 kB / 1.293 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003214/0.3751, allocations: 35.88 kB / 1.293 GB, free: 10.44 MB / 0.9981 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.0006384/0.3758, allocations: 0.8671 MB / 1.294 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 8.202e-05/0.3758, allocations: 11.94 kB / 1.294 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3758, allocations: 0 / 1.294 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.092e-06/0.3758, allocations: 0 / 1.294 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005081/0.3764, allocations: 463.8 kB / 1.294 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001169/0.3775, allocations: 1.332 MB / 1.295 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.3778, allocations: 0.6767 MB / 1.296 GB, free: 6.945 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.3779, allocations: 10.8 kB / 1.296 GB, free: 6.938 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.754e-05/0.3779, allocations: 11.44 kB / 1.296 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of SimCode: time 3e-07/0.3779, allocations: 0 / 1.296 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02279/0.4007, allocations: 2.265 MB / 1.298 GB, free: 4.855 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.9, allocations: 5.078 kB / 1.298 GB, free: 4.852 MB / 0.9981 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.698746688954998]