Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.001293/0.001293, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001477/0.001477, allocations: 222 kB / 23 MB, free: 4.91 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.152/3.152, allocations: 0.4892 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 177] 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.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [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.002069/0.002069, allocations: 70.47 kB / 1.154 GB, free: 25.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4082, allocations: 176.1 MB / 1.326 GB, free: 1.895 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1798/0.5881, allocations: 130 MB / 1.453 GB, free: 15.44 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001662/0.5882, allocations: 51.83 kB / 1.453 GB, free: 15.39 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.5883, allocations: 0 / 1.453 GB, free: 15.39 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.5884, allocations: 7.984 kB / 1.453 GB, free: 15.38 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 8.352e-05/0.5885, allocations: 15.92 kB / 1.453 GB, free: 15.37 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005726/0.5891, allocations: 108.6 kB / 1.453 GB, free: 15.26 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 9.439e-05/0.5891, allocations: 35.91 kB / 1.453 GB, free: 15.23 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 4.011e-05/0.5892, allocations: 0 / 1.453 GB, free: 15.23 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.873e-05/0.5892, allocations: 19.92 kB / 1.453 GB, free: 15.21 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.676e-05/0.5893, allocations: 15.92 kB / 1.453 GB, free: 15.19 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.328e-05/0.5893, allocations: 0 / 1.453 GB, free: 15.19 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002759/0.5896, allocations: 71.73 kB / 1.453 GB, free: 15.12 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.82e-05/0.5897, allocations: 19.97 kB / 1.454 GB, free: 15.1 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.015e-05/0.5897, allocations: 7.938 kB / 1.454 GB, free: 15.09 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.5899, allocations: 63.86 kB / 1.454 GB, free: 15.03 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.5899, allocations: 3.938 kB / 1.454 GB, free: 15.03 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5899, allocations: 0 / 1.454 GB, free: 15.03 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.5899, allocations: 0 / 1.454 GB, free: 15.03 MB / 1.154 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.0004419/0.5903, allocations: 263.6 kB / 1.454 GB, free: 14.74 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.5904, allocations: 12.03 kB / 1.454 GB, free: 14.73 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/0.5906, allocations: 20.92 kB / 1.454 GB, free: 14.71 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001261/0.5908, allocations: 110.5 kB / 1.454 GB, free: 14.58 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.604e-05/0.5908, allocations: 59.34 kB / 1.454 GB, free: 14.51 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.062e-05/0.5908, allocations: 0 / 1.454 GB, free: 14.51 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001667/0.591, allocations: 79.31 kB / 1.454 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.591, allocations: 0 / 1.454 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.591, allocations: 0 / 1.454 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.5911, allocations: 3.984 kB / 1.454 GB, free: 14.41 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.666e-05/0.5911, allocations: 19.98 kB / 1.454 GB, free: 14.39 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004094/0.5915, allocations: 212.5 kB / 1.454 GB, free: 14.16 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 4.879e-05/0.5916, allocations: 14.58 kB / 1.454 GB, free: 14.13 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.759e-05/0.5916, allocations: 8.922 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.492e-06/0.5916, allocations: 3.938 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.6e-05/0.5916, allocations: 30.56 kB / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.5916, allocations: 0 / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001425/0.5918, allocations: 33.7 kB / 1.454 GB, free: 14.04 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.5918, allocations: 51.41 kB / 1.454 GB, free: 13.98 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.5919, allocations: 117.9 kB / 1.455 GB, free: 13.85 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.774e-05/0.592, allocations: 25.7 kB / 1.455 GB, free: 13.82 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.592, allocations: 99.97 kB / 1.455 GB, free: 13.72 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 5.41e-06/0.592, allocations: 0 / 1.455 GB, free: 13.72 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.208e-05/0.5921, allocations: 21.66 kB / 1.455 GB, free: 13.69 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001604/0.5922, allocations: 310.8 kB / 1.455 GB, free: 13.38 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.5922, allocations: 4 kB / 1.455 GB, free: 13.38 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.81e-05/0.5923, allocations: 30.5 kB / 1.455 GB, free: 13.34 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.521e-05/0.5923, allocations: 30.58 kB / 1.455 GB, free: 13.3 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.611e-06/0.5923, allocations: 4.25 kB / 1.455 GB, free: 13.29 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.099e-05/0.5924, allocations: 57.56 kB / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.5924, allocations: 4 kB / 1.455 GB, free: 13.23 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.5924, allocations: 4.094 kB / 1.455 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.5925, allocations: 3.984 kB / 1.455 GB, free: 13.22 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.394e-05/0.5925, allocations: 11.94 kB / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.5925, allocations: 0 / 1.455 GB, free: 13.21 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.861e-05/0.5926, allocations: 15.88 kB / 1.455 GB, free: 13.19 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.5926, allocations: 4.094 kB / 1.455 GB, free: 13.19 MB / 1.154 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.0001097/0.5927, allocations: 111.5 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.5927, allocations: 4 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.5927, allocations: 3.156 kB / 1.455 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.5927, allocations: 0 / 1.455 GB, free: 13.06 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.5928, allocations: 4 kB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.5928, allocations: 3.938 kB / 1.455 GB, free: 13.05 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002867/0.593, allocations: 294.4 kB / 1.456 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.593, allocations: 0 / 1.456 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.386e-05/0.5931, allocations: 0 / 1.456 GB, free: 12.72 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/0.5931, allocations: 8.031 kB / 1.456 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.5931, allocations: 0 / 1.456 GB, free: 12.71 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/0.5931, allocations: 11.91 kB / 1.456 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.5931, allocations: 0 / 1.456 GB, free: 12.7 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.517e-05/0.5932, allocations: 57.14 kB / 1.456 GB, free: 12.63 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.115e-05/0.5932, allocations: 3.953 kB / 1.456 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.5932, allocations: 0 / 1.456 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.624e-05/0.5933, allocations: 11.92 kB / 1.456 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.5933, allocations: 0 / 1.456 GB, free: 12.61 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-06/0.5933, allocations: 0 / 1.456 GB, free: 12.61 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.73e-05/0.5933, allocations: 91.31 kB / 1.456 GB, free: 12.52 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.5933, allocations: 0 / 1.456 GB, free: 12.52 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001893/0.5935, allocations: 7.938 kB / 1.456 GB, free: 12.52 MB / 1.154 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 (1): * Single equations (assignments): 1 * 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.0001194/0.5937, allocations: 99.23 kB / 1.456 GB, free: 12.41 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 8.063e-05/0.5937, allocations: 12 kB / 1.456 GB, free: 12.4 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5937, allocations: 0 / 1.456 GB, free: 12.4 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 6.994e-06/0.5937, allocations: 4 kB / 1.456 GB, free: 12.39 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.594, allocations: 4.188 kB / 1.456 GB, free: 12.39 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.5943, allocations: 152.6 kB / 1.456 GB, free: 12.21 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.994e-05/0.5944, allocations: 67.28 kB / 1.456 GB, free: 12.12 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.777e-05/0.5944, allocations: 7.438 kB / 1.456 GB, free: 12.12 MB / 1.154 GB Notification: Performance of SimCode: time 2.8e-07/0.5944, allocations: 0 / 1.456 GB, free: 12.12 MB / 1.154 GB Notification: Performance of Templates: time 0.002314/0.5967, allocations: 0.5792 MB / 1.457 GB, free: 11.54 MB / 1.154 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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.242614030838013]