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.0007914/0.0007914, 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.0008646/0.0008646, 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.88/0.88, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.658/1.658, allocations: 377.8 MB / 0.6221 GB, free: 8.676 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 0.981 GB, free: 1.453 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.975e-05/2.104e-05, allocations: 2.281 kB / 0.981 GB, free: 1.449 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.003662/0.003683, allocations: 3.228 MB / 0.9841 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 6.916e-05/0.003752, allocations: 55.8 kB / 0.9842 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.166e-05/0.003774, allocations: 0 / 0.9842 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.279e-05/0.003867, allocations: 3.938 kB / 0.9842 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 6.454e-05/0.003931, allocations: 11.92 kB / 0.9842 GB, free: 14.13 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004183/0.00435, allocations: 199 kB / 0.9844 GB, free: 13.93 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 7.017e-05/0.00442, allocations: 39.84 kB / 0.9844 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.004452, allocations: 3.984 kB / 0.9844 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 4.239e-05/0.004494, allocations: 19.98 kB / 0.9844 GB, free: 13.87 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.061e-05/0.004555, allocations: 15.92 kB / 0.9844 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.075e-05/0.004566, allocations: 0 / 0.9844 GB, free: 13.86 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000189/0.004755, allocations: 131.5 kB / 0.9846 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 4.069e-05/0.004795, allocations: 7.984 kB / 0.9846 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 1.794e-05/0.004813, allocations: 11.94 kB / 0.9846 GB, free: 13.71 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001691/0.004982, allocations: 131.6 kB / 0.9847 GB, free: 13.58 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004984, allocations: 3.938 kB / 0.9847 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004985, allocations: 4 kB / 0.9847 GB, free: 13.57 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.004989, allocations: 0 / 0.9847 GB, free: 13.57 MB / 0.9011 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.0002845/0.005274, allocations: 266.2 kB / 0.985 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.005308, allocations: 12.03 kB / 0.985 GB, free: 13.27 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.688e-05/0.005335, allocations: 30.75 kB / 0.985 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.53e-05/0.00536, allocations: 0.9375 kB / 0.985 GB, free: 13.23 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.362e-05/0.005424, allocations: 109.8 kB / 0.9851 GB, free: 13.1 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.695e-05/0.005471, allocations: 51.97 kB / 0.9852 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.004e-06/0.005478, allocations: 4.375 kB / 0.9852 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.005581, allocations: 79.88 kB / 0.9852 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.005588, allocations: 3.938 kB / 0.9853 GB, free: 12.94 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.746e-06/0.005596, allocations: 3.984 kB / 0.9853 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.005612, allocations: 0 / 0.9853 GB, free: 12.93 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.628e-05/0.005648, allocations: 23.92 kB / 0.9853 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.006018, allocations: 259.9 kB / 0.9855 GB, free: 12.61 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 3.122e-05/0.00605, allocations: 18.58 kB / 0.9855 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.137e-05/0.006061, allocations: 8.922 kB / 0.9856 GB, free: 12.57 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 5.066e-05/0.006112, allocations: 31.97 kB / 0.9856 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.006136, allocations: 34.56 kB / 0.9856 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.006137, allocations: 4 kB / 0.9856 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001079/0.006245, allocations: 41.62 kB / 0.9857 GB, free: 12.45 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.006267, allocations: 55.34 kB / 0.9857 GB, free: 12.38 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.762e-05/0.006325, allocations: 101.8 kB / 0.9858 GB, free: 12.27 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.006333, allocations: 25.7 kB / 0.9858 GB, free: 12.24 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.006368, allocations: 92.08 kB / 0.9859 GB, free: 12.15 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 4.288e-06/0.006372, allocations: 3.953 kB / 0.9859 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.684e-05/0.006399, allocations: 17.72 kB / 0.9859 GB, free: 12.12 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 6.262e-05/0.006461, allocations: 310.8 kB / 0.9862 GB, free: 11.81 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.518e-06/0.006471, allocations: 4 kB / 0.9862 GB, free: 11.8 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.783e-05/0.006489, allocations: 25.83 kB / 0.9863 GB, free: 11.77 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.006514, allocations: 25.59 kB / 0.9863 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.006516, allocations: 0 / 0.9863 GB, free: 11.74 MB / 0.9011 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.502e-05/0.006561, allocations: 45.69 kB / 0.9863 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.006571, allocations: 4 kB / 0.9863 GB, free: 11.69 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.006576, allocations: 7.938 kB / 0.9863 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.378e-06/0.006585, allocations: 0 / 0.9863 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.259e-05/0.006618, allocations: 4 kB / 0.9864 GB, free: 11.68 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.006622, allocations: 4.062 kB / 0.9864 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.103e-05/0.006633, allocations: 4 kB / 0.9864 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.594e-06/0.006641, allocations: 3.984 kB / 0.9864 GB, free: 11.66 MB / 0.9011 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.837e-05/0.006689, allocations: 113.8 kB / 0.9865 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.217e-05/0.006701, allocations: 4 kB / 0.9865 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.465e-05/0.006776, allocations: 115.5 kB / 0.9866 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.625e-05/0.006812, allocations: 184.2 kB / 0.9868 GB, free: 11.23 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-05/0.006851, allocations: 180.3 kB / 0.9869 GB, free: 11.05 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.565e-05/0.006887, allocations: 184.2 kB / 0.9871 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.007013, allocations: 380.2 kB / 0.9875 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-05/0.007035, allocations: 105 kB / 0.9876 GB, free: 10.33 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.007061, allocations: 108.9 kB / 0.9877 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.529e-05/0.007096, allocations: 180.3 kB / 0.9878 GB, free: 10.03 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.007134, allocations: 180.2 kB / 0.988 GB, free: 9.848 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.666e-05/0.007171, allocations: 184.2 kB / 0.9882 GB, free: 9.66 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.534e-05/0.007206, allocations: 180.3 kB / 0.9884 GB, free: 9.477 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.391e-05/0.00729, allocations: 315.7 kB / 0.9887 GB, free: 9.145 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 2.582e-05/0.007316, allocations: 108.9 kB / 0.9888 GB, free: 9.031 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.007361, allocations: 180.2 kB / 0.9889 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.77e-05/0.007449, allocations: 109 kB / 0.989 GB, free: 8.734 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.00749, allocations: 184.1 kB / 0.9892 GB, free: 8.547 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.326e-05/0.007513, allocations: 113 kB / 0.9893 GB, free: 8.43 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 2.607e-05/0.007539, allocations: 79.28 kB / 0.9894 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.007539, allocations: 0 / 0.9894 GB, free: 8.352 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0001938/0.007733, allocations: 35.88 kB / 0.9894 GB, free: 8.316 MB / 0.9011 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.0003482/0.008081, allocations: 0.8751 MB / 0.9903 GB, free: 7.41 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 5.026e-05/0.008132, allocations: 11.98 kB / 0.9903 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.008133, allocations: 0 / 0.9903 GB, free: 7.398 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/0.008134, allocations: 3.938 kB / 0.9903 GB, free: 7.395 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002747/0.008409, allocations: 463.7 kB / 0.9908 GB, free: 6.938 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007682/0.009177, allocations: 1.324 MB / 0.992 GB, free: 5.523 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.574e-05/0.009213, allocations: 59.34 kB / 0.9921 GB, free: 5.445 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 2.789e-05/0.009241, allocations: 4 kB / 0.9921 GB, free: 5.441 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.009262, allocations: 20.48 kB / 0.9921 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of SimCode: time 2.91e-07/0.009262, allocations: 0 / 0.9921 GB, free: 5.422 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01451/0.02377, allocations: 2.847 MB / 0.9949 GB, free: 2.805 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.431/6.454, allocations: 5.156 kB / 0.9949 GB, free: 2.801 MB / 0.9011 GB " [Timeout remaining time 293] (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/jenkins/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: 10.245843531563878]