Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001269/0.001269, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001285/0.001285, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.439/1.439, allocations: 225.6 MB / 248.5 MB, free: 3.625 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.549/2.549, allocations: 443.5 MB / 0.7293 GB, free: 14.54 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 1.057 GB, free: 2.102 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3054, allocations: 160.7 MB / 1.214 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.7559/1.061, allocations: 148.7 MB / 1.359 GB, free: 8.949 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001637/1.061, allocations: 49.84 kB / 1.359 GB, free: 8.922 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.525e-05/1.061, allocations: 0 / 1.359 GB, free: 8.922 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001323/1.062, allocations: 10.22 kB / 1.359 GB, free: 8.914 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.201e-05/1.062, allocations: 10.95 kB / 1.359 GB, free: 8.91 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009347/1.063, allocations: 220.2 kB / 1.36 GB, free: 8.805 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/1.063, allocations: 34.42 kB / 1.36 GB, free: 8.793 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/1.063, allocations: 2.484 kB / 1.36 GB, free: 8.793 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 3.946e-05/1.063, allocations: 14.19 kB / 1.36 GB, free: 8.789 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 8.001e-05/1.063, allocations: 22.02 kB / 1.36 GB, free: 8.777 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/1.063, allocations: 1.188 kB / 1.36 GB, free: 8.777 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004762/1.063, allocations: 212.4 kB / 1.36 GB, free: 8.691 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.799e-05/1.063, allocations: 6.719 kB / 1.36 GB, free: 8.691 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.35e-05/1.063, allocations: 18 kB / 1.36 GB, free: 8.68 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/1.064, allocations: 107.7 kB / 1.36 GB, free: 8.66 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/1.064, allocations: 0.9375 kB / 1.36 GB, free: 8.66 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.653e-06/1.064, allocations: 0 / 1.36 GB, free: 8.66 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.28e-06/1.064, allocations: 1.75 kB / 1.36 GB, free: 8.66 MB / 1.045 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.0004776/1.064, allocations: 338.6 kB / 1.36 GB, free: 8.301 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.595e-05/1.064, allocations: 8.656 kB / 1.36 GB, free: 8.301 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00033/1.065, allocations: 27.67 kB / 1.36 GB, free: 8.297 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/1.065, allocations: 175 kB / 1.36 GB, free: 8.09 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.325e-05/1.065, allocations: 34.67 kB / 1.36 GB, free: 8.051 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/1.065, allocations: 1.531 kB / 1.36 GB, free: 8.051 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/1.065, allocations: 52.33 kB / 1.361 GB, free: 8.012 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/1.065, allocations: 0 / 1.361 GB, free: 8.012 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/1.065, allocations: 1.062 kB / 1.361 GB, free: 8.012 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.442e-05/1.065, allocations: 1.641 kB / 1.361 GB, free: 8.012 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.55e-05/1.065, allocations: 21.97 kB / 1.361 GB, free: 8.008 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004136/1.065, allocations: 263.8 kB / 1.361 GB, free: 7.727 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 6e-05/1.066, allocations: 24 kB / 1.361 GB, free: 7.699 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/1.066, allocations: 11.17 kB / 1.361 GB, free: 7.688 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000167/1.066, allocations: 91.19 kB / 1.361 GB, free: 7.594 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/1.066, allocations: 36.69 kB / 1.361 GB, free: 7.551 MB / 1.045 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/1.066, allocations: 1.969 kB / 1.361 GB, free: 7.551 MB / 1.045 GB Notification: Performance of matching and sorting (n=2): time 0.0002426/1.066, allocations: 47.66 kB / 1.361 GB, free: 7.516 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/1.066, allocations: 56.66 kB / 1.361 GB, free: 7.449 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.877e-05/1.066, allocations: 106.2 kB / 1.361 GB, free: 7.344 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/1.066, allocations: 26.83 kB / 1.361 GB, free: 7.312 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/1.066, allocations: 90.17 kB / 1.361 GB, free: 7.223 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.034e-05/1.066, allocations: 12.88 kB / 1.361 GB, free: 7.211 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.348e-05/1.066, allocations: 15 kB / 1.361 GB, free: 7.195 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001698/1.066, allocations: 315.9 kB / 1.362 GB, free: 6.879 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.623e-05/1.066, allocations: 4.453 kB / 1.362 GB, free: 6.879 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.305e-05/1.066, allocations: 21.5 kB / 1.362 GB, free: 6.855 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.611e-05/1.067, allocations: 36.61 kB / 1.362 GB, free: 6.82 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.067, allocations: 1.672 kB / 1.362 GB, free: 6.82 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.147e-05/1.067, allocations: 56.17 kB / 1.362 GB, free: 6.777 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.067, allocations: 5.312 kB / 1.362 GB, free: 6.777 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/1.067, allocations: 0.875 kB / 1.362 GB, free: 6.777 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/1.067, allocations: 1.812 kB / 1.362 GB, free: 6.777 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.814e-05/1.067, allocations: 7.438 kB / 1.362 GB, free: 6.777 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/1.067, allocations: 2.375 kB / 1.362 GB, free: 6.777 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/1.067, allocations: 13.09 kB / 1.362 GB, free: 6.766 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/1.067, allocations: 1.281 kB / 1.362 GB, free: 6.766 MB / 1.045 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 0.0001898/1.067, allocations: 111.1 kB / 1.362 GB, free: 6.652 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.587e-05/1.067, allocations: 1.094 kB / 1.362 GB, free: 6.652 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.942e-05/1.067, allocations: 8.875 kB / 1.362 GB, free: 6.641 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/1.067, allocations: 2.016 kB / 1.362 GB, free: 6.641 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/1.067, allocations: 5.938 kB / 1.362 GB, free: 6.637 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/1.067, allocations: 3.938 kB / 1.362 GB, free: 6.633 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003973/1.067, allocations: 360.2 kB / 1.362 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/1.067, allocations: 1.922 kB / 1.362 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.574e-05/1.067, allocations: 3.469 kB / 1.362 GB, free: 6.238 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.067, allocations: 4.547 kB / 1.362 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.652e-06/1.067, allocations: 1.375 kB / 1.362 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/1.067, allocations: 0.75 kB / 1.362 GB, free: 6.234 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.067, allocations: 5.344 kB / 1.362 GB, free: 6.23 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000171/1.068, allocations: 77.36 kB / 1.362 GB, free: 6.145 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.717e-05/1.068, allocations: 80.7 kB / 1.362 GB, free: 6.051 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.869e-05/1.068, allocations: 6.25 kB / 1.362 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.215e-05/1.068, allocations: 2.516 kB / 1.362 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.329e-05/1.068, allocations: 3.203 kB / 1.362 GB, free: 6.047 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/1.068, allocations: 3 kB / 1.362 GB, free: 6.047 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0001246/1.068, allocations: 89.14 kB / 1.363 GB, free: 5.965 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/1.068, allocations: 0 / 1.363 GB, free: 5.965 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002019/1.068, allocations: 6.031 kB / 1.363 GB, free: 5.965 MB / 1.045 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.0001373/1.068, allocations: 104.1 kB / 1.363 GB, free: 5.875 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.607e-05/1.068, allocations: 19.75 kB / 1.363 GB, free: 5.867 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.068, allocations: 0 / 1.363 GB, free: 5.867 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 2.099e-05/1.068, allocations: 12.75 kB / 1.363 GB, free: 5.859 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002356/1.069, allocations: 3.828 kB / 1.363 GB, free: 5.859 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/1.069, allocations: 150.4 kB / 1.363 GB, free: 5.707 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/1.069, allocations: 0.6765 MB / 1.363 GB, free: 5.012 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.511e-05/1.069, allocations: 8.812 kB / 1.363 GB, free: 5.004 MB / 1.045 GB Notification: Performance of SimCode: time 3.2e-07/1.069, allocations: 0 / 1.363 GB, free: 5.004 MB / 1.045 GB Notification: Performance of Templates: time 0.002145/1.071, allocations: 0.6186 MB / 1.364 GB, free: 4.969 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.01431841403246]