Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.001775/0.001775, allocations: 104.3 kB / 19.7 MB, free: 2.156 MB / 14.72 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.002041/0.002041, allocations: 207.9 kB / 22.99 MB, free: 4.984 MB / 14.72 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 1.625/1.625, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.355/3.355, allocations: 0.49 GB / 0.7959 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002068/0.002068, allocations: 70.08 kB / 1.155 GB, free: 25.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3835, allocations: 176.1 MB / 1.327 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006284/0.3898, allocations: 3.903 MB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.000236/0.39, allocations: 151.6 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.057e-05/0.3901, allocations: 0 / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001203/0.3902, allocations: 3.938 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.426e-05/0.3903, allocations: 15.86 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003813/0.3907, allocations: 87.73 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.847e-05/0.3908, allocations: 35.84 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.972e-05/0.3908, allocations: 7.984 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.168e-05/0.3909, allocations: 11.98 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.516e-05/0.3909, allocations: 11.98 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.3909, allocations: 3.938 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001892/0.3911, allocations: 59.73 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.3912, allocations: 4 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.645e-05/0.3912, allocations: 11.98 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.3914, allocations: 67.8 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3914, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3914, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.139e-06/0.3914, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 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.0004254/0.3918, allocations: 258.3 kB / 1.332 GB, free: 12.22 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3918, allocations: 12.03 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.11e-05/0.3919, allocations: 0.9375 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.392, allocations: 106.5 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.942e-05/0.3921, allocations: 55.97 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.645e-06/0.3921, allocations: 384 / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001604/0.3922, allocations: 87.2 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3923, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.3923, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.681e-05/0.3923, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.784e-05/0.3923, allocations: 11.98 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004257/0.3928, allocations: 208.5 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.011e-05/0.3928, allocations: 18.58 kB / 1.332 GB, free: 11.64 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/0.3928, allocations: 12.8 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.687e-05/0.3929, allocations: 12.05 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.3929, allocations: 34.56 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3929, allocations: 4 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001635/0.3931, allocations: 37.66 kB / 1.332 GB, free: 11.52 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.681e-05/0.3931, allocations: 51.41 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.875e-05/0.3932, allocations: 101.8 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3933, allocations: 29.7 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.3933, allocations: 84.09 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.883e-06/0.3933, allocations: 4 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.908e-05/0.3934, allocations: 17.7 kB / 1.332 GB, free: 11.2 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.3935, allocations: 318.7 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.276e-05/0.3935, allocations: 12.06 kB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.497e-05/0.3936, allocations: 17.72 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.034e-05/0.3936, allocations: 25.7 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3936, allocations: 0 / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.946e-05/0.3937, allocations: 45.62 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.3937, allocations: 8 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.3937, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.3937, allocations: 0 / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.55e-05/0.3938, allocations: 8 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.3938, allocations: 4.062 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.227e-05/0.3938, allocations: 7.953 kB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3938, allocations: 0 / 1.333 GB, free: 10.74 MB / 1.029 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 8.815e-05/0.3939, allocations: 113.8 kB / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.3939, allocations: 0 / 1.333 GB, free: 10.62 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001449/0.3941, allocations: 124.9 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.485e-05/0.3942, allocations: 176.3 kB / 1.333 GB, free: 10.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.814e-05/0.3942, allocations: 184.2 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.909e-05/0.3943, allocations: 180.2 kB / 1.334 GB, free: 9.934 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.3946, allocations: 360.8 kB / 1.334 GB, free: 9.543 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.424e-05/0.3946, allocations: 104.9 kB / 1.334 GB, free: 9.434 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.059e-05/0.3947, allocations: 105 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001052/0.3948, allocations: 188.5 kB / 1.334 GB, free: 9.133 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.916e-05/0.3949, allocations: 176.3 kB / 1.334 GB, free: 8.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.373e-05/0.395, allocations: 188.1 kB / 1.335 GB, free: 8.762 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.669e-05/0.3951, allocations: 180.3 kB / 1.335 GB, free: 8.578 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001851/0.3953, allocations: 311.7 kB / 1.335 GB, free: 8.25 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.247e-05/0.3953, allocations: 105 kB / 1.335 GB, free: 8.141 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.3954, allocations: 184.2 kB / 1.335 GB, free: 7.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001767/0.3956, allocations: 109 kB / 1.336 GB, free: 7.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.3957, allocations: 180.3 kB / 1.336 GB, free: 7.656 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.977e-05/0.3957, allocations: 108.9 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.389e-05/0.3958, allocations: 91.27 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3958, allocations: 0 / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002581/0.3961, allocations: 15.94 kB / 1.336 GB, free: 7.438 MB / 1.029 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.0002232/0.3963, allocations: 198.4 kB / 1.336 GB, free: 7.23 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 7.639e-05/0.3964, allocations: 4 kB / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3964, allocations: 0 / 1.336 GB, free: 7.227 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 4.128e-06/0.3964, allocations: 4.062 kB / 1.336 GB, free: 7.223 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005291/0.3969, allocations: 475.6 kB / 1.337 GB, free: 6.754 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003187/0.3972, allocations: 179.4 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.224e-05/0.3973, allocations: 63.34 kB / 1.337 GB, free: 6.473 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.243e-05/0.3973, allocations: 7.938 kB / 1.337 GB, free: 6.465 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.412e-05/0.3974, allocations: 7.438 kB / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.3974, allocations: 0 / 1.337 GB, free: 6.457 MB / 1.029 GB Notification: Performance of Templates: time 0.003261/0.4006, allocations: 0.6738 MB / 1.337 GB, free: 5.789 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 9.371599721998791]