Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001332/0.001332, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001496/0.001496, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.468/1.468, allocations: 230.6 MB / 256 MB, free: 7.98 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 3.263/3.263, allocations: 0.49 GB / 0.7951 GB, free: 33.36 MB / 0.6231 GB " [Timeout remaining time 176] 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.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion",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.002982/0.002982, allocations: 69.11 kB / 1.154 GB, free: 25.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.408, allocations: 176.1 MB / 1.326 GB, free: 1.969 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.008384/0.4163, allocations: 3.405 MB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001815/0.4165, allocations: 55.78 kB / 1.329 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.447e-05/0.4166, allocations: 4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001726/0.4167, allocations: 0 / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.4169, allocations: 11.92 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.418, allocations: 203.2 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001494/0.4182, allocations: 31.86 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.262e-05/0.4182, allocations: 4 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 7.197e-05/0.4183, allocations: 15.92 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.4184, allocations: 15.98 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.206e-05/0.4184, allocations: 0 / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006461/0.4191, allocations: 187.5 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.4192, allocations: 7.984 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.4192, allocations: 15.92 kB / 1.33 GB, free: 14 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0005141/0.4197, allocations: 135.9 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4197, allocations: 4 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.775e-06/0.4197, allocations: 7.938 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.425e-05/0.4197, allocations: 0 / 1.33 GB, free: 13.86 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.0006463/0.4204, allocations: 274.2 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 7.511e-05/0.4205, allocations: 8.031 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.862e-05/0.4205, allocations: 34.75 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.4206, allocations: 4.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.4207, allocations: 102.5 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.4208, allocations: 59.97 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.773e-05/0.4208, allocations: 8.062 kB / 1.33 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.421, allocations: 45.67 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.421, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.4211, allocations: 0 / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.41e-05/0.4211, allocations: 7.984 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.435e-05/0.4212, allocations: 8 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007673/0.4219, allocations: 263.9 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.545e-05/0.422, allocations: 22.52 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.495e-05/0.422, allocations: 8.922 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001415/0.4222, allocations: 35.97 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.133e-05/0.4222, allocations: 30.56 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.763e-06/0.4222, allocations: 3.938 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0002037/0.4224, allocations: 33.66 kB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.4225, allocations: 63.53 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.4226, allocations: 101.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.4226, allocations: 25.7 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.4227, allocations: 96.03 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.007e-05/0.4227, allocations: 3.984 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.734e-05/0.4228, allocations: 13.72 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.4229, allocations: 318.8 kB / 1.331 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.136e-05/0.423, allocations: 4 kB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.738e-05/0.423, allocations: 21.7 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.197e-05/0.423, allocations: 17.72 kB / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.423, allocations: 0 / 1.331 GB, free: 12.06 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001256/0.4232, allocations: 49.62 kB / 1.331 GB, free: 12.01 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4232, allocations: 8 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.4232, allocations: 0 / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.4232, allocations: 4.062 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.4233, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4233, allocations: 4 kB / 1.332 GB, free: 11.99 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.4233, allocations: 3.953 kB / 1.332 GB, free: 11.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.366e-05/0.4233, allocations: 0 / 1.332 GB, free: 11.98 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.0001258/0.4235, allocations: 122.2 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.97e-05/0.4235, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001648/0.4237, allocations: 120.9 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/0.4238, allocations: 184.3 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001086/0.4239, allocations: 184.2 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001005/0.424, allocations: 180.3 kB / 1.332 GB, free: 11.16 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004294/0.4244, allocations: 392.2 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.854e-05/0.4245, allocations: 101 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.535e-05/0.4245, allocations: 105 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.4248, allocations: 180.2 kB / 1.333 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002324/0.425, allocations: 184.3 kB / 1.333 GB, free: 10.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001143/0.4251, allocations: 184.2 kB / 1.333 GB, free: 9.957 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001194/0.4252, allocations: 176.3 kB / 1.334 GB, free: 9.777 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.4256, allocations: 311.7 kB / 1.334 GB, free: 9.449 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.908e-05/0.4257, allocations: 109 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.4259, allocations: 184.1 kB / 1.334 GB, free: 9.148 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002983/0.4262, allocations: 105.3 kB / 1.334 GB, free: 9.039 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.4263, allocations: 180.2 kB / 1.334 GB, free: 8.855 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.945e-05/0.4264, allocations: 113 kB / 1.334 GB, free: 8.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.261e-05/0.4265, allocations: 83.28 kB / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4265, allocations: 0 / 1.335 GB, free: 8.656 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005183/0.427, allocations: 39.81 kB / 1.335 GB, free: 8.617 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.0009785/0.428, allocations: 0.871 MB / 1.335 GB, free: 7.715 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001333/0.4281, allocations: 7.984 kB / 1.335 GB, free: 7.707 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.4281, allocations: 4.125 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.074e-06/0.4281, allocations: 4 kB / 1.335 GB, free: 7.699 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007187/0.4288, allocations: 456.3 kB / 1.336 GB, free: 7.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.4305, allocations: 1.338 MB / 1.337 GB, free: 5.828 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005386/0.431, allocations: 0.6807 MB / 1.338 GB, free: 5.121 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.607e-05/0.4311, allocations: 4 kB / 1.338 GB, free: 5.117 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.426e-05/0.4311, allocations: 7.438 kB / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of SimCode: time 6.71e-07/0.4311, allocations: 0 / 1.338 GB, free: 5.109 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04074/0.4719, allocations: 2.243 MB / 1.34 GB, free: 3.047 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.09/11.56, allocations: 7.469 kB / 1.34 GB, free: 3.047 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.31227133097127]