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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.003591/0.003591, allocations: 102.6 kB / 15.73 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009943/0.0009943, allocations: 191.2 kB / 16.67 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.231/1.231, allocations: 222.9 MB / 240.4 MB, free: 4.133 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.439/2.439, allocations: 469.8 MB / 0.7425 GB, free: 7.316 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00167/0.00167, allocations: 67.84 kB / 1.065 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2465, allocations: 159.1 MB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004217/0.2508, allocations: 3.284 MB / 1.223 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 9.66e-05/0.2509, allocations: 67.8 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.058e-05/0.2509, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 7.702e-05/0.251, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.107e-05/0.2511, allocations: 11.92 kB / 1.223 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.2516, allocations: 186.8 kB / 1.224 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.163e-05/0.2516, allocations: 35.91 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.263e-05/0.2517, allocations: 4 kB / 1.224 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.633e-05/0.2517, allocations: 19.92 kB / 1.224 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.88e-05/0.2518, allocations: 19.91 kB / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.2518, allocations: 0 / 1.224 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003126/0.2521, allocations: 163.6 kB / 1.224 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4e-05/0.2522, allocations: 11.97 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.146e-05/0.2522, allocations: 7.938 kB / 1.224 GB, free: 10.47 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.2524, allocations: 139.7 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.2524, allocations: 4 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2525, allocations: 0 / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2525, allocations: 0 / 1.224 GB, free: 10.33 MB / 0.9825 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.0003665/0.2528, allocations: 351.2 kB / 1.224 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.093e-05/0.2529, allocations: 8.031 kB / 1.224 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.2529, allocations: 30.75 kB / 1.224 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.52e-05/0.2529, allocations: 4.938 kB / 1.224 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.2531, allocations: 164.3 kB / 1.225 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.2531, allocations: 30.27 kB / 1.225 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.695e-06/0.2531, allocations: 8.125 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.2532, allocations: 45.67 kB / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.2533, allocations: 0 / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.544e-06/0.2533, allocations: 0 / 1.225 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.2533, allocations: 7.938 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.064e-05/0.2533, allocations: 15.98 kB / 1.225 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005718/0.2539, allocations: 0.5793 MB / 1.225 GB, free: 8.867 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 3.647e-05/0.254, allocations: 26.61 kB / 1.225 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.621e-05/0.254, allocations: 8.859 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002296/0.2542, allocations: 344.5 kB / 1.226 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.2543, allocations: 30.56 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.2543, allocations: 3.938 kB / 1.226 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001209/0.2544, allocations: 37.69 kB / 1.226 GB, free: 8.324 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.2544, allocations: 55.53 kB / 1.226 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/0.2545, allocations: 97.86 kB / 1.226 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.2545, allocations: 25.7 kB / 1.226 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.626e-05/0.2546, allocations: 92.08 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-06/0.2546, allocations: 7.953 kB / 1.226 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.919e-05/0.2546, allocations: 13.72 kB / 1.226 GB, free: 8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.2547, allocations: 318.8 kB / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.146e-05/0.2548, allocations: 0 / 1.226 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.2548, allocations: 21.7 kB / 1.226 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.267e-05/0.2548, allocations: 25.66 kB / 1.226 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.2548, allocations: 3.938 kB / 1.226 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.113e-05/0.2549, allocations: 53.56 kB / 1.226 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.2549, allocations: 8 kB / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.386e-06/0.2549, allocations: 0 / 1.226 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.778e-06/0.255, allocations: 4.062 kB / 1.226 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.598e-05/0.255, allocations: 4 kB / 1.226 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.255, allocations: 4 kB / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.412e-05/0.255, allocations: 0 / 1.226 GB, free: 7.539 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.817e-06/0.255, allocations: 3.984 kB / 1.226 GB, free: 7.535 MB / 0.9825 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 7.224e-05/0.2551, allocations: 113.8 kB / 1.226 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.147e-05/0.2551, allocations: 0 / 1.226 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.973e-05/0.2552, allocations: 128.9 kB / 1.227 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.017e-05/0.2553, allocations: 180.2 kB / 1.227 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.443e-05/0.2554, allocations: 176.3 kB / 1.227 GB, free: 6.918 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.409e-05/0.2555, allocations: 184.2 kB / 1.227 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002219/0.2557, allocations: 405.2 kB / 1.227 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.152e-05/0.2557, allocations: 108.9 kB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.505e-05/0.2558, allocations: 105 kB / 1.228 GB, free: 6.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.688e-05/0.2558, allocations: 180.3 kB / 1.228 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.94e-05/0.2559, allocations: 188.2 kB / 1.228 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.598e-05/0.256, allocations: 184.3 kB / 1.228 GB, free: 5.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-05/0.2561, allocations: 180.2 kB / 1.228 GB, free: 5.309 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001424/0.2562, allocations: 315.7 kB / 1.229 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.583e-05/0.2563, allocations: 182.1 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.28e-05/0.2564, allocations: 180.3 kB / 1.229 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001367/0.2565, allocations: 104.9 kB / 1.229 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/0.2566, allocations: 184.2 kB / 1.229 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.311e-05/0.2566, allocations: 108.9 kB / 1.229 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.2567, allocations: 83.28 kB / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.2567, allocations: 0 / 1.23 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002487/0.2569, allocations: 47.73 kB / 1.23 GB, free: 4.051 MB / 0.9825 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.0004992/0.2574, allocations: 0.8599 MB / 1.23 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.438e-05/0.2575, allocations: 11.92 kB / 1.23 GB, free: 3.148 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2575, allocations: 8.125 kB / 1.23 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.2575, allocations: 0 / 1.23 GB, free: 3.141 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.2579, allocations: 459.7 kB / 1.231 GB, free: 2.688 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009361/0.2589, allocations: 1.325 MB / 1.232 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002547/0.2591, allocations: 0.6806 MB / 1.233 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.513e-05/0.2592, allocations: 9.953 kB / 1.233 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.066e-05/0.2592, allocations: 7.438 kB / 1.233 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of SimCode: time 2e-07/0.2592, allocations: 0 / 1.233 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.777/4.036, allocations: 2.167 MB / 1.235 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.24/17.27, allocations: 17 kB / 1.235 GB, free: 14.57 MB / 0.9981 GB (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 --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) 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) Reference file matches