Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001905/0.001905, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002024/0.002024, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.529/1.529, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.873/2.873, allocations: 476 MB / 0.7699 GB, free: 4.805 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [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.002108/0.002108, allocations: 67.86 kB / 1.117 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3916/0.3937, allocations: 170 MB / 1.283 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1974/0.5912, allocations: 130.3 MB / 1.41 GB, free: 9.07 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.5913, allocations: 51.86 kB / 1.41 GB, free: 9.02 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.263e-05/0.5914, allocations: 0 / 1.41 GB, free: 9.02 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.5915, allocations: 7.938 kB / 1.41 GB, free: 9.012 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 9.218e-05/0.5916, allocations: 19.84 kB / 1.41 GB, free: 8.992 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007994/0.5924, allocations: 199.3 kB / 1.411 GB, free: 8.797 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001005/0.5925, allocations: 35.91 kB / 1.411 GB, free: 8.762 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.75e-05/0.5925, allocations: 0 / 1.411 GB, free: 8.762 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 3.899e-05/0.5926, allocations: 19.92 kB / 1.411 GB, free: 8.742 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.92e-05/0.5927, allocations: 15.97 kB / 1.411 GB, free: 8.727 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.5927, allocations: 3.938 kB / 1.411 GB, free: 8.723 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003769/0.593, allocations: 163.4 kB / 1.411 GB, free: 8.562 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.5931, allocations: 11.98 kB / 1.411 GB, free: 8.551 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.5931, allocations: 7.984 kB / 1.411 GB, free: 8.543 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00024/0.5934, allocations: 107.7 kB / 1.411 GB, free: 8.438 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.5934, allocations: 0 / 1.411 GB, free: 8.438 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.794e-06/0.5934, allocations: 0 / 1.411 GB, free: 8.438 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.5934, allocations: 0 / 1.411 GB, free: 8.438 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004367/0.5938, allocations: 270.2 kB / 1.411 GB, free: 8.145 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.5938, allocations: 8.031 kB / 1.411 GB, free: 8.137 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003504/0.5942, allocations: 28.91 kB / 1.411 GB, free: 8.109 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.5943, allocations: 106.5 kB / 1.411 GB, free: 7.98 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-05/0.5944, allocations: 63.28 kB / 1.411 GB, free: 7.906 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.304e-05/0.5944, allocations: 0 / 1.411 GB, free: 7.906 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001721/0.5946, allocations: 75.38 kB / 1.411 GB, free: 7.82 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.5946, allocations: 0 / 1.411 GB, free: 7.82 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.5946, allocations: 0 / 1.411 GB, free: 7.82 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.5946, allocations: 8 kB / 1.411 GB, free: 7.812 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.582e-05/0.5947, allocations: 19.98 kB / 1.411 GB, free: 7.793 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003795/0.5951, allocations: 208.5 kB / 1.412 GB, free: 7.559 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 6.987e-05/0.5951, allocations: 30.52 kB / 1.412 GB, free: 7.52 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.272e-05/0.5951, allocations: 4.859 kB / 1.412 GB, free: 7.512 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/0.5953, allocations: 19.98 kB / 1.412 GB, free: 7.492 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/0.5953, allocations: 30.56 kB / 1.412 GB, free: 7.453 MB / 1.107 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.5953, allocations: 4 kB / 1.412 GB, free: 7.449 MB / 1.107 GB Notification: Performance of matching and sorting (n=2): time 0.0002695/0.5956, allocations: 57.62 kB / 1.412 GB, free: 7.387 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.794e-05/0.5956, allocations: 51.41 kB / 1.412 GB, free: 7.324 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.527e-05/0.5957, allocations: 113.7 kB / 1.412 GB, free: 7.203 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.5957, allocations: 25.7 kB / 1.412 GB, free: 7.172 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.016e-05/0.5958, allocations: 84.09 kB / 1.412 GB, free: 7.086 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 9.808e-06/0.5958, allocations: 7.891 kB / 1.412 GB, free: 7.078 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.89e-05/0.5958, allocations: 21.7 kB / 1.412 GB, free: 7.051 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001551/0.596, allocations: 318.8 kB / 1.412 GB, free: 6.73 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.681e-05/0.596, allocations: 8.125 kB / 1.412 GB, free: 6.723 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.596, allocations: 26.56 kB / 1.412 GB, free: 6.688 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.897e-05/0.5961, allocations: 30.52 kB / 1.412 GB, free: 6.648 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5961, allocations: 0 / 1.412 GB, free: 6.648 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.512e-05/0.5962, allocations: 53.62 kB / 1.413 GB, free: 6.59 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5962, allocations: 8 kB / 1.413 GB, free: 6.582 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5962, allocations: 0 / 1.413 GB, free: 6.582 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.5962, allocations: 4.094 kB / 1.413 GB, free: 6.578 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.918e-05/0.5963, allocations: 8 kB / 1.413 GB, free: 6.57 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.5963, allocations: 0 / 1.413 GB, free: 6.57 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.136e-05/0.5963, allocations: 3.938 kB / 1.413 GB, free: 6.566 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.5963, allocations: 4 kB / 1.413 GB, free: 6.562 MB / 1.107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 9.555e-05/0.5964, allocations: 113.8 kB / 1.413 GB, free: 6.441 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.5964, allocations: 7.953 kB / 1.413 GB, free: 6.434 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.051e-05/0.5965, allocations: 3.312 kB / 1.413 GB, free: 6.43 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5965, allocations: 0 / 1.413 GB, free: 6.43 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5965, allocations: 0 / 1.413 GB, free: 6.43 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5965, allocations: 7.938 kB / 1.413 GB, free: 6.422 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002992/0.5968, allocations: 311.2 kB / 1.413 GB, free: 6.074 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5968, allocations: 0 / 1.413 GB, free: 6.074 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.895e-05/0.5968, allocations: 7.984 kB / 1.413 GB, free: 6.066 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.5968, allocations: 0 / 1.413 GB, free: 6.066 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-06/0.5968, allocations: 0 / 1.413 GB, free: 6.066 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.5968, allocations: 7.875 kB / 1.413 GB, free: 6.059 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.5968, allocations: 11.94 kB / 1.413 GB, free: 6.047 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.25e-05/0.5969, allocations: 66 kB / 1.413 GB, free: 5.961 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 9.979e-06/0.5969, allocations: 8.094 kB / 1.413 GB, free: 5.953 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.789e-05/0.5969, allocations: 7.984 kB / 1.413 GB, free: 5.945 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.124e-05/0.597, allocations: 7.938 kB / 1.413 GB, free: 5.938 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.631e-05/0.597, allocations: 0 / 1.413 GB, free: 5.938 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-06/0.597, allocations: 0 / 1.413 GB, free: 5.938 MB / 1.107 GB Notification: Performance of sorting global known variables: time 4.527e-05/0.5971, allocations: 83.27 kB / 1.413 GB, free: 5.855 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.5971, allocations: 4 kB / 1.413 GB, free: 5.852 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001914/0.5973, allocations: 4 kB / 1.413 GB, free: 5.848 MB / 1.107 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.000133/0.5974, allocations: 103.2 kB / 1.413 GB, free: 5.738 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 9.517e-05/0.5975, allocations: 15.94 kB / 1.413 GB, free: 5.723 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.5975, allocations: 3.938 kB / 1.413 GB, free: 5.719 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 1.456e-05/0.5975, allocations: 11.92 kB / 1.413 GB, free: 5.707 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002464/0.5978, allocations: 8 kB / 1.413 GB, free: 5.699 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002963/0.5981, allocations: 131.5 kB / 1.413 GB, free: 5.543 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.39e-05/0.5981, allocations: 59.66 kB / 1.413 GB, free: 5.465 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.256e-05/0.5982, allocations: 12.41 kB / 1.413 GB, free: 5.453 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.681e-05/0.5982, allocations: 7.438 kB / 1.413 GB, free: 5.445 MB / 1.107 GB Notification: Performance of SimCode: time 3.41e-07/0.5982, allocations: 4 kB / 1.413 GB, free: 5.441 MB / 1.107 GB Notification: Performance of Templates: time 0.003283/0.6015, allocations: 0.6021 MB / 1.414 GB, free: 4.852 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.542287131771445]