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.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.001717/0.001717, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001756/0.001756, allocations: 190.7 kB / 22.17 MB, free: 5.656 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.465/1.465, allocations: 225.6 MB / 250.9 MB, free: 13.28 MB / 206.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.814/2.814, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] 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: 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: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 67.84 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8663/0.8682, allocations: 168.7 MB / 1.274 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1952/1.063, allocations: 148.8 MB / 1.419 GB, free: 15.09 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.0001718/1.064, allocations: 51.86 kB / 1.419 GB, free: 15.04 MB / 1.123 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.007e-05/1.064, allocations: 0 / 1.419 GB, free: 15.04 MB / 1.123 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/1.064, allocations: 4 kB / 1.419 GB, free: 15.03 MB / 1.123 GB Notification: Performance of NFTyping.typeBindings: time 8.705e-05/1.064, allocations: 15.91 kB / 1.419 GB, free: 15.02 MB / 1.123 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009563/1.065, allocations: 214.9 kB / 1.42 GB, free: 14.81 MB / 1.123 GB Notification: Performance of NFFlatten.flatten: time 0.0001085/1.065, allocations: 39.84 kB / 1.42 GB, free: 14.77 MB / 1.123 GB Notification: Performance of NFFlatten.resolveConnections: time 4.408e-05/1.065, allocations: 0 / 1.42 GB, free: 14.77 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 4.038e-05/1.065, allocations: 15.98 kB / 1.42 GB, free: 14.75 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 8.495e-05/1.065, allocations: 19.86 kB / 1.42 GB, free: 14.73 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 1.21e-05/1.065, allocations: 0 / 1.42 GB, free: 14.73 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005144/1.066, allocations: 207.4 kB / 1.42 GB, free: 14.53 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 5.267e-05/1.066, allocations: 7.984 kB / 1.42 GB, free: 14.52 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/1.066, allocations: 11.94 kB / 1.42 GB, free: 14.51 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0003139/1.066, allocations: 122.4 kB / 1.42 GB, free: 14.39 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/1.066, allocations: 3.938 kB / 1.42 GB, free: 14.39 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.523e-06/1.066, allocations: 0 / 1.42 GB, free: 14.39 MB / 1.123 GB Notification: Performance of Transformations before backend: time 1.247e-05/1.066, allocations: 0 / 1.42 GB, free: 14.39 MB / 1.123 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.0005191/1.067, allocations: 343.4 kB / 1.42 GB, free: 14.01 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/1.067, allocations: 8.031 kB / 1.42 GB, free: 14 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/1.067, allocations: 24.91 kB / 1.42 GB, free: 13.98 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001614/1.067, allocations: 164.3 kB / 1.42 GB, free: 13.78 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.74e-05/1.067, allocations: 33.64 kB / 1.421 GB, free: 13.74 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/1.067, allocations: 0 / 1.421 GB, free: 13.74 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/1.067, allocations: 57.59 kB / 1.421 GB, free: 13.68 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.278e-06/1.067, allocations: 4 kB / 1.421 GB, free: 13.67 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/1.067, allocations: 0 / 1.421 GB, free: 13.67 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.988e-05/1.067, allocations: 4 kB / 1.421 GB, free: 13.67 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.839e-05/1.067, allocations: 19.98 kB / 1.421 GB, free: 13.65 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004402/1.068, allocations: 256.9 kB / 1.421 GB, free: 13.35 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 7.26e-05/1.068, allocations: 26.52 kB / 1.421 GB, free: 13.31 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.395e-05/1.068, allocations: 12.92 kB / 1.421 GB, free: 13.3 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001929/1.068, allocations: 89.09 kB / 1.421 GB, free: 13.19 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.94e-05/1.068, allocations: 34.56 kB / 1.421 GB, free: 13.15 MB / 1.123 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/1.068, allocations: 0 / 1.421 GB, free: 13.15 MB / 1.123 GB Notification: Performance of matching and sorting (n=2): time 0.0002783/1.069, allocations: 49.69 kB / 1.421 GB, free: 13.09 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/1.069, allocations: 55.53 kB / 1.421 GB, free: 13.03 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/1.069, allocations: 105.8 kB / 1.421 GB, free: 12.91 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/1.069, allocations: 25.7 kB / 1.421 GB, free: 12.88 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 6.721e-05/1.069, allocations: 92.03 kB / 1.421 GB, free: 12.79 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 8.626e-06/1.069, allocations: 7.891 kB / 1.421 GB, free: 12.78 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.132e-05/1.069, allocations: 25.64 kB / 1.421 GB, free: 12.75 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001613/1.069, allocations: 310.8 kB / 1.422 GB, free: 12.44 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.541e-05/1.069, allocations: 4 kB / 1.422 GB, free: 12.43 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.647e-05/1.069, allocations: 30.75 kB / 1.422 GB, free: 12.39 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.106e-05/1.069, allocations: 30.58 kB / 1.422 GB, free: 12.36 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/1.069, allocations: 3.938 kB / 1.422 GB, free: 12.35 MB / 1.123 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001021/1.069, allocations: 61.52 kB / 1.422 GB, free: 12.29 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/1.069, allocations: 8.094 kB / 1.422 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.069, allocations: 0 / 1.422 GB, free: 12.28 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/1.069, allocations: 4.094 kB / 1.422 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.333e-05/1.069, allocations: 7.984 kB / 1.422 GB, free: 12.27 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.069, allocations: 3.938 kB / 1.422 GB, free: 12.26 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.265e-05/1.069, allocations: 4 kB / 1.422 GB, free: 12.26 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/1.069, allocations: 0 / 1.422 GB, free: 12.26 MB / 1.123 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.063e-05/1.069, allocations: 110.4 kB / 1.422 GB, free: 12.14 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/1.069, allocations: 7.984 kB / 1.422 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.128e-05/1.069, allocations: 7.125 kB / 1.422 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/1.069, allocations: 4 kB / 1.422 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.069, allocations: 3.938 kB / 1.422 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/1.069, allocations: 0 / 1.422 GB, free: 12.12 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003664/1.07, allocations: 363.6 kB / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/1.07, allocations: 0 / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.787e-05/1.07, allocations: 4 kB / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/1.07, allocations: 4 kB / 1.422 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-06/1.07, allocations: 4 kB / 1.422 GB, free: 11.69 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/1.07, allocations: 4 kB / 1.422 GB, free: 11.69 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/1.07, allocations: 0 / 1.422 GB, free: 11.69 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.325e-05/1.07, allocations: 73.88 kB / 1.422 GB, free: 11.59 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 6.106e-05/1.07, allocations: 85.05 kB / 1.422 GB, free: 11.49 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.798e-05/1.07, allocations: 0 / 1.422 GB, free: 11.49 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.593e-05/1.07, allocations: 8.031 kB / 1.422 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.574e-05/1.07, allocations: 4 kB / 1.422 GB, free: 11.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/1.07, allocations: 3.984 kB / 1.422 GB, free: 11.48 MB / 1.123 GB Notification: Performance of sorting global known variables: time 4.858e-05/1.07, allocations: 79.28 kB / 1.423 GB, free: 11.4 MB / 1.123 GB Notification: Performance of sort global known variables: time 9e-08/1.07, allocations: 0 / 1.423 GB, free: 11.4 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0002036/1.07, allocations: 8 kB / 1.423 GB, free: 11.39 MB / 1.123 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.0001549/1.071, allocations: 99.25 kB / 1.423 GB, free: 11.29 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.000102/1.071, allocations: 23.92 kB / 1.423 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/1.071, allocations: 0 / 1.423 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 1.085e-05/1.071, allocations: 4 kB / 1.423 GB, free: 11.26 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002107/1.071, allocations: 5.875 kB / 1.423 GB, free: 11.25 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003149/1.071, allocations: 143.5 kB / 1.423 GB, free: 11.09 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003171/1.072, allocations: 0.6768 MB / 1.423 GB, free: 10.38 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 4.746e-05/1.072, allocations: 4 kB / 1.423 GB, free: 10.38 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.41e-05/1.072, allocations: 7.438 kB / 1.423 GB, free: 10.37 MB / 1.123 GB Notification: Performance of SimCode: time 2.81e-07/1.072, allocations: 0 / 1.423 GB, free: 10.37 MB / 1.123 GB Notification: Performance of Templates: time 0.003313/1.075, allocations: 0.5941 MB / 1.424 GB, free: 9.781 MB / 1.123 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.930517943110317]