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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00168/0.00168, allocations: 106 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001838/0.001838, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 247.8 MB, free: 3.707 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.918/2.918, allocations: 476.7 MB / 0.7611 GB, free: 15.67 MB / 0.6075 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 67.89 kB / 1.104 GB, free: 6.543 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9588/0.9608, allocations: 168.7 MB / 1.269 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004875/0.9657, allocations: 3.307 MB / 1.272 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001079/0.9658, allocations: 50.44 kB / 1.272 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.9658, allocations: 0.7188 kB / 1.272 GB, free: 5.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000115/0.9659, allocations: 9.969 kB / 1.272 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.119e-05/0.966, allocations: 20.69 kB / 1.272 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.9666, allocations: 186.8 kB / 1.272 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.732e-05/0.9667, allocations: 28.89 kB / 1.272 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.244e-05/0.9667, allocations: 7.203 kB / 1.272 GB, free: 5.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.9668, allocations: 15.78 kB / 1.272 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.713e-05/0.9668, allocations: 20.81 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.9668, allocations: 0.75 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003696/0.9672, allocations: 183 kB / 1.272 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.9673, allocations: 8.844 kB / 1.272 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.845e-05/0.9673, allocations: 9.625 kB / 1.272 GB, free: 5.105 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002956/0.9676, allocations: 132.7 kB / 1.273 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.9676, allocations: 1.031 kB / 1.273 GB, free: 5.074 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.152e-06/0.9676, allocations: 3.938 kB / 1.273 GB, free: 5.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.9676, allocations: 0 / 1.273 GB, free: 5.07 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.0003487/0.9679, allocations: 349.5 kB / 1.273 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.968, allocations: 9.5 kB / 1.273 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.84e-05/0.968, allocations: 36.03 kB / 1.273 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.225e-05/0.968, allocations: 3.781 kB / 1.273 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.9681, allocations: 165.7 kB / 1.273 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.9682, allocations: 28.5 kB / 1.273 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.276e-06/0.9682, allocations: 5.781 kB / 1.273 GB, free: 4.426 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.9683, allocations: 43.16 kB / 1.273 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.9683, allocations: 0 / 1.273 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.9683, allocations: 9.609 kB / 1.273 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.9683, allocations: 4.875 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.9684, allocations: 16.78 kB / 1.273 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005261/0.9689, allocations: 0.5881 MB / 1.274 GB, free: 3.711 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.204e-05/0.9689, allocations: 17.25 kB / 1.274 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.293e-05/0.969, allocations: 6.625 kB / 1.274 GB, free: 3.68 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001738/0.9691, allocations: 342.9 kB / 1.274 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.689e-05/0.9692, allocations: 35.38 kB / 1.274 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.9692, allocations: 0.9375 kB / 1.274 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1): time 0.0001485/0.9693, allocations: 37.2 kB / 1.274 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.9693, allocations: 51.97 kB / 1.274 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.367e-05/0.9694, allocations: 106.4 kB / 1.274 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.9694, allocations: 27.17 kB / 1.274 GB, free: 3.02 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.089e-05/0.9694, allocations: 90.7 kB / 1.275 GB, free: 2.93 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 5.651e-06/0.9694, allocations: 4.922 kB / 1.275 GB, free: 2.926 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.946e-05/0.9695, allocations: 18.73 kB / 1.275 GB, free: 2.906 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.43e-05/0.9695, allocations: 316.5 kB / 1.275 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.497e-05/0.9695, allocations: 3.484 kB / 1.275 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.229e-05/0.9695, allocations: 19.59 kB / 1.275 GB, free: 2.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.302e-05/0.9696, allocations: 29 kB / 1.275 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.9696, allocations: 0.7188 kB / 1.275 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.08e-05/0.9697, allocations: 49.38 kB / 1.275 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9697, allocations: 5.25 kB / 1.275 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.9697, allocations: 1.719 kB / 1.275 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.9697, allocations: 0.875 kB / 1.275 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-05/0.9697, allocations: 5.453 kB / 1.275 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.9697, allocations: 0.9688 kB / 1.275 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.86e-05/0.9698, allocations: 1.031 kB / 1.275 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.9698, allocations: 6.703 kB / 1.275 GB, free: 2.5 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 4.777e-05/0.9698, allocations: 118.8 kB / 1.275 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.627e-05/0.9698, allocations: 2.016 kB / 1.275 GB, free: 2.379 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.747e-05/0.9699, allocations: 121.6 kB / 1.275 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.639e-05/0.97, allocations: 178.1 kB / 1.275 GB, free: 2.074 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.628e-05/0.97, allocations: 186.8 kB / 1.276 GB, free: 1.887 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.192e-05/0.97, allocations: 185.3 kB / 1.276 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.9702, allocations: 405.2 kB / 1.276 GB, free: 17.25 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.08e-05/0.9703, allocations: 110.5 kB / 1.276 GB, free: 17.14 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.9703, allocations: 102 kB / 1.276 GB, free: 17.04 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.839e-05/0.9704, allocations: 178 kB / 1.276 GB, free: 16.86 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.247e-05/0.9705, allocations: 186.1 kB / 1.277 GB, free: 16.67 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.861e-05/0.9706, allocations: 184 kB / 1.277 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.854e-05/0.9707, allocations: 185.3 kB / 1.277 GB, free: 16.3 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001652/0.9709, allocations: 308.9 kB / 1.277 GB, free: 15.98 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/0.971, allocations: 190.5 kB / 1.277 GB, free: 15.77 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.129e-05/0.9711, allocations: 182 kB / 1.278 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.9712, allocations: 107.3 kB / 1.278 GB, free: 15.48 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.9713, allocations: 183 kB / 1.278 GB, free: 15.29 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/0.9714, allocations: 101.6 kB / 1.278 GB, free: 15.19 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.351e-05/0.9715, allocations: 82.75 kB / 1.278 GB, free: 15.11 MB / 1.014 GB Notification: Performance of sort global known variables: time 8e-08/0.9715, allocations: 4 kB / 1.278 GB, free: 15.11 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003171/0.9718, allocations: 45.19 kB / 1.278 GB, free: 15.09 MB / 1.014 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.0007842/0.9726, allocations: 0.8699 MB / 1.279 GB, free: 14.26 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 6.992e-05/0.9727, allocations: 13.94 kB / 1.279 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.9727, allocations: 0 / 1.279 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.603e-06/0.9727, allocations: 1 kB / 1.279 GB, free: 14.25 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000525/0.9732, allocations: 462.8 kB / 1.279 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.9744, allocations: 1.334 MB / 1.281 GB, free: 12.46 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003147/0.9747, allocations: 0.6776 MB / 1.281 GB, free: 11.76 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.091e-05/0.9747, allocations: 11.33 kB / 1.281 GB, free: 11.76 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.948e-05/0.9748, allocations: 12.58 kB / 1.281 GB, free: 11.75 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/0.9748, allocations: 0.7188 kB / 1.281 GB, free: 11.75 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02367/0.9984, allocations: 2.167 MB / 1.284 GB, free: 11.28 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/9.252, allocations: 4.797 kB / 1.284 GB, free: 11.28 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.543204832822084]