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) 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 12.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004851/0.004851, allocations: 99.19 kB / 15.73 MB, free: 6.492 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.001417/0.001417, allocations: 198.8 kB / 16.68 MB, free: 6.375 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.266/1.266, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.556/2.556, allocations: 482.6 MB / 0.755 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001691/0.001691, allocations: 71.88 kB / 1.083 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2707, allocations: 162.3 MB / 1.242 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004205/0.275, allocations: 3.277 MB / 1.245 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 9.427e-05/0.2751, allocations: 63.8 kB / 1.245 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.2751, allocations: 4 kB / 1.245 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.668e-05/0.2752, allocations: 3.984 kB / 1.245 GB, free: 6.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.767e-05/0.2753, allocations: 11.92 kB / 1.245 GB, free: 6.434 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004394/0.2757, allocations: 175.2 kB / 1.245 GB, free: 6.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.298e-05/0.2758, allocations: 35.91 kB / 1.245 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.014e-05/0.2758, allocations: 8 kB / 1.245 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.464e-05/0.2759, allocations: 15.92 kB / 1.245 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.192e-05/0.2759, allocations: 19.92 kB / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2759, allocations: 0 / 1.245 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000314/0.2763, allocations: 167.6 kB / 1.246 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.591e-05/0.2763, allocations: 7.984 kB / 1.246 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.284e-05/0.2763, allocations: 11.92 kB / 1.246 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002433/0.2766, allocations: 135.7 kB / 1.246 GB, free: 5.867 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2766, allocations: 4 kB / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2766, allocations: 0 / 1.246 GB, free: 5.863 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.2766, allocations: 4 kB / 1.246 GB, free: 5.859 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.0003574/0.277, allocations: 355.2 kB / 1.246 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.241e-05/0.277, allocations: 8.031 kB / 1.246 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.818e-05/0.277, allocations: 34.69 kB / 1.246 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.65e-05/0.2771, allocations: 4.938 kB / 1.246 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.2772, allocations: 160.4 kB / 1.246 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/0.2772, allocations: 26.27 kB / 1.246 GB, free: 5.184 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.2773, allocations: 8.125 kB / 1.246 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001016/0.2774, allocations: 45.69 kB / 1.246 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.2774, allocations: 0 / 1.246 GB, free: 5.125 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/0.2774, allocations: 7.969 kB / 1.246 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.2774, allocations: 3.938 kB / 1.246 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.917e-05/0.2775, allocations: 16 kB / 1.246 GB, free: 5.098 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005713/0.278, allocations: 0.5832 MB / 1.247 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.529e-05/0.2781, allocations: 22.56 kB / 1.247 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.208e-05/0.2781, allocations: 8.859 kB / 1.247 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.2783, allocations: 344.5 kB / 1.247 GB, free: 3.938 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.2784, allocations: 38.56 kB / 1.247 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2784, allocations: 3.938 kB / 1.247 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001131/0.2785, allocations: 29.7 kB / 1.247 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.2785, allocations: 59.39 kB / 1.247 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.483e-05/0.2786, allocations: 97.98 kB / 1.247 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2786, allocations: 29.7 kB / 1.248 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.482e-05/0.2787, allocations: 88.09 kB / 1.248 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.792e-06/0.2787, allocations: 7.984 kB / 1.248 GB, free: 3.543 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.737e-05/0.2787, allocations: 9.719 kB / 1.248 GB, free: 3.527 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.2789, allocations: 322.8 kB / 1.248 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.158e-05/0.2789, allocations: 0 / 1.248 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.678e-05/0.2789, allocations: 17.7 kB / 1.248 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.472e-05/0.279, allocations: 29.66 kB / 1.248 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.279, allocations: 0 / 1.248 GB, free: 3.145 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.421e-05/0.279, allocations: 57.52 kB / 1.248 GB, free: 3.082 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.2791, allocations: 8 kB / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.2791, allocations: 0 / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.917e-06/0.2791, allocations: 0 / 1.248 GB, free: 3.074 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.516e-05/0.2791, allocations: 4 kB / 1.248 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.2791, allocations: 4.062 kB / 1.248 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.2791, allocations: 4 kB / 1.248 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.2792, allocations: 0 / 1.248 GB, free: 3.062 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 7.268e-05/0.2792, allocations: 118.6 kB / 1.248 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.239e-05/0.2793, allocations: 0 / 1.248 GB, free: 2.938 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.2794, allocations: 124.9 kB / 1.248 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.715e-05/0.2794, allocations: 180.2 kB / 1.248 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.534e-05/0.2795, allocations: 180.3 kB / 1.249 GB, free: 2.438 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.455e-05/0.2796, allocations: 184.2 kB / 1.249 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002187/0.2798, allocations: 409.1 kB / 1.249 GB, free: 1.793 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.072e-05/0.2799, allocations: 104.9 kB / 1.249 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.2799, allocations: 105 kB / 1.249 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.59e-05/0.28, allocations: 180.3 kB / 1.25 GB, free: 1.391 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.641e-05/0.28, allocations: 188.2 kB / 1.25 GB, free: 1.199 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.736e-05/0.2801, allocations: 184.2 kB / 1.25 GB, free: 1.012 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.375e-05/0.2802, allocations: 184.2 kB / 1.25 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.2803, allocations: 311.7 kB / 1.25 GB, free: 0.4961 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.816e-05/0.2804, allocations: 186 kB / 1.251 GB, free: 296 kB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.2805, allocations: 180.3 kB / 1.251 GB, free: 108 kB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.4791/0.7596, allocations: 104.9 kB / 1.251 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.087e-05/0.7597, allocations: 176.8 kB / 1.251 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.236e-05/0.7597, allocations: 104.3 kB / 1.251 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.631e-05/0.7598, allocations: 85.05 kB / 1.251 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7598, allocations: 0.9062 kB / 1.251 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003199/0.7601, allocations: 39.94 kB / 1.251 GB, free: 15.03 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.0003387/0.7604, allocations: 0.8663 MB / 1.252 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.273e-05/0.7605, allocations: 16.41 kB / 1.252 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.7605, allocations: 1.406 kB / 1.252 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.7605, allocations: 0.5938 kB / 1.252 GB, free: 14.23 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003171/0.7608, allocations: 462.6 kB / 1.253 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006184/0.7615, allocations: 1.332 MB / 1.254 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.403e-05/0.7616, allocations: 0.6746 MB / 1.254 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.671e-05/0.7616, allocations: 9.594 kB / 1.255 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.835e-05/0.7616, allocations: 10.34 kB / 1.255 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.7616, allocations: 2.844 kB / 1.255 GB, free: 11.78 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9347/1.696, allocations: 2.167 MB / 1.257 GB, free: 11.4 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/12.62, allocations: 17.22 kB / 1.257 GB, free: 11.39 MB / 0.9981 GB (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 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches