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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001391/0.001391, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 197.5 kB / 16.53 MB, free: 6.672 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.157/1.157, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.291/2.291, allocations: 461.9 MB / 0.7346 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 65.19 kB / 0.8992 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2359, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004128/0.2401, allocations: 3.283 MB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 8.179e-05/0.2402, allocations: 55.84 kB / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.2402, allocations: 0 / 1.056 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.779e-05/0.2403, allocations: 3.938 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.2404, allocations: 19.91 kB / 1.056 GB, free: 4.973 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004501/0.2408, allocations: 179.2 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.65e-05/0.2409, allocations: 31.91 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.122e-05/0.2409, allocations: 7.984 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.517e-05/0.241, allocations: 12 kB / 1.056 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.915e-05/0.2411, allocations: 23.84 kB / 1.056 GB, free: 4.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.203e-05/0.2411, allocations: 4 kB / 1.056 GB, free: 4.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003155/0.2414, allocations: 167.6 kB / 1.057 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.762e-05/0.2414, allocations: 3.984 kB / 1.057 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.045e-05/0.2415, allocations: 15.94 kB / 1.057 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002588/0.2417, allocations: 132 kB / 1.057 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2417, allocations: 0 / 1.057 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.81e-07/0.2418, allocations: 0 / 1.057 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.2418, allocations: 0 / 1.057 GB, free: 4.406 MB / 0.8106 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.0003649/0.2421, allocations: 351.4 kB / 1.057 GB, free: 4.016 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.2422, allocations: 12.03 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.309e-05/0.2422, allocations: 30.75 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.2423, allocations: 8.875 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/0.2424, allocations: 160.4 kB / 1.057 GB, free: 3.762 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.364e-05/0.2424, allocations: 34.27 kB / 1.057 GB, free: 3.723 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.768e-06/0.2424, allocations: 4.125 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/0.2426, allocations: 45.66 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.042e-06/0.2426, allocations: 0 / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.2426, allocations: 8 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.397e-05/0.2426, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.207e-05/0.2426, allocations: 19.92 kB / 1.057 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000554/0.2432, allocations: 0.5871 MB / 1.058 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 3.645e-05/0.2433, allocations: 22.58 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.267e-05/0.2433, allocations: 4.859 kB / 1.058 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002243/0.2435, allocations: 348.5 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.859e-05/0.2435, allocations: 30.56 kB / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.2435, allocations: 0 / 1.058 GB, free: 2.438 MB / 0.8106 GB Notification: Performance of matching and sorting (n=1): time 0.0001206/0.2437, allocations: 45.62 kB / 1.058 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.2437, allocations: 55.34 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.321e-05/0.2438, allocations: 97.86 kB / 1.059 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.2438, allocations: 25.7 kB / 1.059 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.77e-05/0.2438, allocations: 96.16 kB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/0.2439, allocations: 0 / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.84e-05/0.2439, allocations: 17.72 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.889e-05/0.244, allocations: 314.8 kB / 1.059 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.553e-05/0.244, allocations: 7.984 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.244, allocations: 13.72 kB / 1.059 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.2441, allocations: 25.66 kB / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.2441, allocations: 0 / 1.059 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.076e-05/0.2441, allocations: 53.59 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.2442, allocations: 4 kB / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.2442, allocations: 0 / 1.059 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.2442, allocations: 7.875 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.832e-05/0.2442, allocations: 8 kB / 1.059 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.2442, allocations: 3.984 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.788e-05/0.2443, allocations: 3.938 kB / 1.059 GB, free: 1.602 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.2443, allocations: 8.062 kB / 1.059 GB, free: 1.594 MB / 0.8106 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 6e-05/0.2443, allocations: 111.3 kB / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.565e-05/0.2444, allocations: 0 / 1.059 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.77e-05/0.2445, allocations: 121 kB / 1.059 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.978e-05/0.2445, allocations: 180.2 kB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.395e-05/0.2446, allocations: 180.3 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.804e-05/0.2447, allocations: 184.2 kB / 1.06 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002165/0.2449, allocations: 409.2 kB / 1.06 GB, free: 348 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.17e-05/0.2449, allocations: 101.1 kB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/0.245, allocations: 108.9 kB / 1.06 GB, free: 124 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.698e-05/0.245, allocations: 184.2 kB / 1.061 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-05/0.2451, allocations: 188.2 kB / 1.061 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.873e-05/0.2452, allocations: 176.3 kB / 1.061 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.966e-05/0.2452, allocations: 184.2 kB / 1.061 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001265/0.2454, allocations: 307.8 kB / 1.061 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.494e-05/0.2454, allocations: 198.2 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.89e-05/0.2455, allocations: 176.3 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001406/0.2457, allocations: 112.9 kB / 1.062 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.109e-05/0.2457, allocations: 176.3 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.2458, allocations: 109 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.93e-05/0.2458, allocations: 79.28 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1e-07/0.2458, allocations: 0 / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002704/0.2461, allocations: 43.92 kB / 1.062 GB, free: 14.12 MB / 0.8262 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.0004648/0.2466, allocations: 0.871 MB / 1.063 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 5.65e-05/0.2467, allocations: 8 kB / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.2467, allocations: 0 / 1.063 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.2467, allocations: 7.875 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003818/0.2471, allocations: 465.4 kB / 1.064 GB, free: 12.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009108/0.248, allocations: 1.321 MB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002091/0.2482, allocations: 0.6729 MB / 1.066 GB, free: 10.64 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.008e-05/0.2482, allocations: 9.969 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.857e-05/0.2483, allocations: 15.42 kB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2483, allocations: 0 / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8398/1.088, allocations: 2.136 MB / 1.068 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.394/9.482, allocations: 13.97 kB / 1.068 GB, free: 8.656 MB / 0.8262 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=50 --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