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.001275/0.001275, allocations: 112.4 kB / 17.13 MB, free: 6.008 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.001422/0.001422, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.859/2.859, allocations: 0.49 GB / 0.7923 GB, free: 1.266 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.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.002005/0.002005, allocations: 71.89 kB / 1.15 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9711/0.9731, allocations: 176.1 MB / 1.322 GB, free: 25.05 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1892/1.162, allocations: 151.1 MB / 1.47 GB, free: 10.7 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001523/1.162, allocations: 55.34 kB / 1.47 GB, free: 10.66 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.009e-05/1.162, allocations: 4 kB / 1.47 GB, free: 10.66 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/1.163, allocations: 5.438 kB / 1.47 GB, free: 10.65 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.699e-05/1.163, allocations: 17.67 kB / 1.47 GB, free: 10.64 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004555/1.163, allocations: 108.4 kB / 1.47 GB, free: 10.56 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.396e-05/1.163, allocations: 34.47 kB / 1.47 GB, free: 10.55 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.848e-05/1.163, allocations: 1.781 kB / 1.47 GB, free: 10.55 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.721e-05/1.163, allocations: 16.64 kB / 1.47 GB, free: 10.54 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/1.163, allocations: 22.3 kB / 1.47 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/1.163, allocations: 1.281 kB / 1.47 GB, free: 10.52 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002487/1.164, allocations: 85.73 kB / 1.47 GB, free: 10.47 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.699e-05/1.164, allocations: 11.67 kB / 1.47 GB, free: 10.46 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/1.164, allocations: 13.22 kB / 1.47 GB, free: 10.46 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0001744/1.164, allocations: 73.08 kB / 1.47 GB, free: 10.42 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/1.164, allocations: 1.188 kB / 1.47 GB, free: 10.42 MB / 1.154 GB Notification: Performance of FrontEnd: time 9.12e-07/1.164, allocations: 0 / 1.47 GB, free: 10.42 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.149e-06/1.164, allocations: 0 / 1.47 GB, free: 10.42 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.0004359/1.164, allocations: 344 kB / 1.47 GB, free: 10.05 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/1.164, allocations: 12.42 kB / 1.47 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002187/1.165, allocations: 17.7 kB / 1.47 GB, free: 10.05 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001255/1.165, allocations: 165.9 kB / 1.47 GB, free: 9.848 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/1.165, allocations: 29.64 kB / 1.471 GB, free: 9.812 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/1.165, allocations: 1.156 kB / 1.471 GB, free: 9.812 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/1.165, allocations: 52.77 kB / 1.471 GB, free: 9.766 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.123e-06/1.165, allocations: 4 kB / 1.471 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.296e-05/1.165, allocations: 1.156 kB / 1.471 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/1.165, allocations: 5.078 kB / 1.471 GB, free: 9.758 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.623e-05/1.165, allocations: 18.83 kB / 1.471 GB, free: 9.75 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003982/1.165, allocations: 256.8 kB / 1.471 GB, free: 9.465 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 4.338e-05/1.165, allocations: 17.31 kB / 1.471 GB, free: 9.441 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.039e-05/1.165, allocations: 16.84 kB / 1.471 GB, free: 9.422 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.442e-06/1.165, allocations: 5.594 kB / 1.471 GB, free: 9.418 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/1.165, allocations: 30.56 kB / 1.471 GB, free: 9.379 MB / 1.154 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/1.165, allocations: 1.25 kB / 1.471 GB, free: 9.379 MB / 1.154 GB Notification: Performance of matching and sorting (n=1): time 0.0001428/1.166, allocations: 31.14 kB / 1.471 GB, free: 9.348 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/1.166, allocations: 55.34 kB / 1.471 GB, free: 9.281 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.166, allocations: 106.2 kB / 1.471 GB, free: 9.176 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/1.166, allocations: 29.7 kB / 1.471 GB, free: 9.141 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/1.166, allocations: 97.42 kB / 1.471 GB, free: 9.043 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.839e-06/1.166, allocations: 0.8125 kB / 1.471 GB, free: 9.043 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/1.166, allocations: 18.45 kB / 1.471 GB, free: 9.023 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.166, allocations: 318.8 kB / 1.472 GB, free: 8.703 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.469e-05/1.166, allocations: 3.125 kB / 1.472 GB, free: 8.703 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.346e-05/1.166, allocations: 31.67 kB / 1.472 GB, free: 8.668 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.09e-05/1.166, allocations: 31.12 kB / 1.472 GB, free: 8.637 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/1.166, allocations: 0 / 1.472 GB, free: 8.637 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.449e-05/1.166, allocations: 57.59 kB / 1.472 GB, free: 8.59 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.166, allocations: 7.281 kB / 1.472 GB, free: 8.59 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/1.166, allocations: 1.156 kB / 1.472 GB, free: 8.59 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/1.166, allocations: 5.312 kB / 1.472 GB, free: 8.586 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.112e-05/1.166, allocations: 10.19 kB / 1.472 GB, free: 8.582 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/1.166, allocations: 5 kB / 1.472 GB, free: 8.578 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.132e-05/1.166, allocations: 4.984 kB / 1.472 GB, free: 8.574 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/1.166, allocations: 2.281 kB / 1.472 GB, free: 8.574 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 8.349e-05/1.166, allocations: 108 kB / 1.472 GB, free: 8.461 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/1.166, allocations: 5.109 kB / 1.472 GB, free: 8.457 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.873e-05/1.167, allocations: 8.281 kB / 1.472 GB, free: 8.449 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/1.167, allocations: 1.062 kB / 1.472 GB, free: 8.449 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.167, allocations: 8.188 kB / 1.472 GB, free: 8.441 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/1.167, allocations: 0 / 1.472 GB, free: 8.441 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002966/1.167, allocations: 347.5 kB / 1.472 GB, free: 8.051 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/1.167, allocations: 0 / 1.472 GB, free: 8.051 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.434e-05/1.167, allocations: 1.281 kB / 1.472 GB, free: 8.051 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/1.167, allocations: 5.156 kB / 1.472 GB, free: 8.047 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.637e-06/1.167, allocations: 3.984 kB / 1.472 GB, free: 8.043 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/1.167, allocations: 1.188 kB / 1.472 GB, free: 8.043 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/1.167, allocations: 32 / 1.472 GB, free: 8.043 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.49e-05/1.167, allocations: 59.39 kB / 1.472 GB, free: 7.973 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 5.219e-05/1.167, allocations: 86.22 kB / 1.472 GB, free: 7.871 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.488e-05/1.167, allocations: 1.5 kB / 1.472 GB, free: 7.871 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/1.167, allocations: 6.297 kB / 1.472 GB, free: 7.867 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.608e-06/1.167, allocations: 0 / 1.472 GB, free: 7.867 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/1.167, allocations: 1.125 kB / 1.472 GB, free: 7.867 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.124e-05/1.167, allocations: 84.47 kB / 1.472 GB, free: 7.789 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/1.167, allocations: 0 / 1.472 GB, free: 7.789 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001883/1.167, allocations: 9.562 kB / 1.472 GB, free: 7.785 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.0001197/1.167, allocations: 105.7 kB / 1.472 GB, free: 7.691 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 7.538e-05/1.168, allocations: 11.62 kB / 1.472 GB, free: 7.688 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/1.168, allocations: 1.5 kB / 1.472 GB, free: 7.688 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 5.29e-06/1.168, allocations: 1.469 kB / 1.472 GB, free: 7.688 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/1.168, allocations: 10.94 kB / 1.473 GB, free: 7.68 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/1.168, allocations: 146.5 kB / 1.473 GB, free: 7.527 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003061/1.168, allocations: 0.677 MB / 1.473 GB, free: 6.828 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.799e-05/1.168, allocations: 9.125 kB / 1.473 GB, free: 6.82 MB / 1.154 GB Notification: Performance of SimCode: time 3.21e-07/1.168, allocations: 3.938 kB / 1.473 GB, free: 6.816 MB / 1.154 GB Notification: Performance of Templates: time 0.002115/1.17, allocations: 0.5752 MB / 1.474 GB, free: 6.527 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.307324128007167]