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.001344/0.001344, allocations: 103.2 kB / 16.45 MB, free: 6.5 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.001409/0.001409, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.523/1.523, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.397/3.397, allocations: 0.49 GB / 0.7915 GB, free: 33.64 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.00203/0.00203, allocations: 69.53 kB / 1.149 GB, free: 26.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.417, allocations: 176.1 MB / 1.321 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2028/0.6198, allocations: 151.1 MB / 1.469 GB, free: 11.2 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001738/0.62, allocations: 47.75 kB / 1.469 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.789e-05/0.62, allocations: 0 / 1.469 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.6201, allocations: 15.92 kB / 1.469 GB, free: 11.14 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 8.16e-05/0.6202, allocations: 7.984 kB / 1.469 GB, free: 11.13 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005077/0.6207, allocations: 111.5 kB / 1.469 GB, free: 11.02 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 9.854e-05/0.6208, allocations: 27.92 kB / 1.469 GB, free: 11 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.983e-05/0.6209, allocations: 11.92 kB / 1.469 GB, free: 10.98 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.249e-05/0.6209, allocations: 15.92 kB / 1.469 GB, free: 10.97 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 8.242e-05/0.621, allocations: 15.98 kB / 1.469 GB, free: 10.95 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.621, allocations: 4 kB / 1.469 GB, free: 10.95 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002667/0.6213, allocations: 87.7 kB / 1.469 GB, free: 10.86 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.919e-05/0.6213, allocations: 11.98 kB / 1.469 GB, free: 10.85 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.6214, allocations: 19.92 kB / 1.469 GB, free: 10.83 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001776/0.6215, allocations: 63.8 kB / 1.469 GB, free: 10.77 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.6216, allocations: 0 / 1.469 GB, free: 10.77 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.332e-06/0.6216, allocations: 0 / 1.469 GB, free: 10.77 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.6216, allocations: 0 / 1.469 GB, free: 10.77 MB / 1.17 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.000454/0.622, allocations: 347.3 kB / 1.47 GB, free: 10.38 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.622, allocations: 19.92 kB / 1.47 GB, free: 10.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002292/0.6223, allocations: 16.92 kB / 1.47 GB, free: 10.35 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.6224, allocations: 160.4 kB / 1.47 GB, free: 10.15 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-05/0.6225, allocations: 37.58 kB / 1.47 GB, free: 10.11 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.6225, allocations: 3.984 kB / 1.47 GB, free: 10.11 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.6227, allocations: 49.67 kB / 1.47 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.6227, allocations: 0 / 1.47 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.6227, allocations: 4 kB / 1.47 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.6227, allocations: 0 / 1.47 GB, free: 10.05 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.73e-05/0.6227, allocations: 19.98 kB / 1.47 GB, free: 10.03 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004461/0.6232, allocations: 260.9 kB / 1.47 GB, free: 9.723 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 4.978e-05/0.6232, allocations: 18.52 kB / 1.47 GB, free: 9.695 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.874e-05/0.6233, allocations: 16.92 kB / 1.47 GB, free: 9.676 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 6.142e-06/0.6233, allocations: 0 / 1.47 GB, free: 9.676 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.6233, allocations: 30.56 kB / 1.47 GB, free: 9.637 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 8.01e-07/0.6233, allocations: 0 / 1.47 GB, free: 9.637 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001676/0.6235, allocations: 29.7 kB / 1.47 GB, free: 9.602 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.163e-05/0.6235, allocations: 67.27 kB / 1.47 GB, free: 9.523 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.6236, allocations: 101.9 kB / 1.47 GB, free: 9.414 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.6237, allocations: 25.7 kB / 1.47 GB, free: 9.383 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 8.472e-05/0.6238, allocations: 100.2 kB / 1.47 GB, free: 9.281 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 6.933e-06/0.6238, allocations: 3.938 kB / 1.471 GB, free: 9.277 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.628e-05/0.6238, allocations: 13.72 kB / 1.471 GB, free: 9.258 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001622/0.624, allocations: 318.8 kB / 1.471 GB, free: 8.938 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.55e-05/0.624, allocations: 3.938 kB / 1.471 GB, free: 8.934 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.649e-05/0.624, allocations: 30.56 kB / 1.471 GB, free: 8.895 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.077e-05/0.6241, allocations: 30.52 kB / 1.471 GB, free: 8.855 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6241, allocations: 0 / 1.471 GB, free: 8.855 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.825e-05/0.6241, allocations: 57.62 kB / 1.471 GB, free: 8.793 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.6242, allocations: 4 kB / 1.471 GB, free: 8.789 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6242, allocations: 0 / 1.471 GB, free: 8.789 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.6242, allocations: 4 kB / 1.471 GB, free: 8.785 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.973e-05/0.6242, allocations: 4.344 kB / 1.471 GB, free: 8.781 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.6243, allocations: 11.92 kB / 1.471 GB, free: 8.77 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.403e-05/0.6243, allocations: 11.95 kB / 1.471 GB, free: 8.758 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.6243, allocations: 0 / 1.471 GB, free: 8.758 MB / 1.17 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.865e-05/0.6244, allocations: 109.8 kB / 1.471 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.43e-05/0.6244, allocations: 0 / 1.471 GB, free: 8.641 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.6244, allocations: 11.2 kB / 1.471 GB, free: 8.629 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.6244, allocations: 0 / 1.471 GB, free: 8.629 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.6244, allocations: 7.938 kB / 1.471 GB, free: 8.621 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.6244, allocations: 0 / 1.471 GB, free: 8.621 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002933/0.6247, allocations: 354.7 kB / 1.471 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.6247, allocations: 0 / 1.471 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.211e-05/0.6247, allocations: 0 / 1.471 GB, free: 8.215 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.6248, allocations: 3.938 kB / 1.471 GB, free: 8.211 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.6248, allocations: 0 / 1.471 GB, free: 8.211 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.473e-06/0.6248, allocations: 4 kB / 1.471 GB, free: 8.207 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6248, allocations: 0 / 1.471 GB, free: 8.207 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.815e-05/0.6248, allocations: 65.09 kB / 1.472 GB, free: 8.125 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.195e-05/0.6249, allocations: 89 kB / 1.472 GB, free: 8.02 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.6249, allocations: 0 / 1.472 GB, free: 8.02 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.001e-05/0.625, allocations: 0 / 1.472 GB, free: 8.02 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.256e-05/0.625, allocations: 4 kB / 1.472 GB, free: 8.016 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-06/0.625, allocations: 0 / 1.472 GB, free: 8.016 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.658e-05/0.6251, allocations: 83.27 kB / 1.472 GB, free: 7.934 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.6251, allocations: 0 / 1.472 GB, free: 7.934 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001939/0.6253, allocations: 16.03 kB / 1.472 GB, free: 7.918 MB / 1.17 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.0001052/0.6254, allocations: 95.25 kB / 1.472 GB, free: 7.816 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 7.291e-05/0.6254, allocations: 11.98 kB / 1.472 GB, free: 7.805 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.6254, allocations: 7.875 kB / 1.472 GB, free: 7.797 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 7.985e-06/0.6254, allocations: 4 kB / 1.472 GB, free: 7.793 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.6257, allocations: 4 kB / 1.472 GB, free: 7.789 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002499/0.6259, allocations: 117.9 kB / 1.472 GB, free: 7.652 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003305/0.6263, allocations: 0.6768 MB / 1.473 GB, free: 6.949 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.6263, allocations: 4 kB / 1.473 GB, free: 6.945 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.931e-05/0.6263, allocations: 7.438 kB / 1.473 GB, free: 6.938 MB / 1.17 GB Notification: Performance of SimCode: time 3e-07/0.6263, allocations: 0 / 1.473 GB, free: 6.938 MB / 1.17 GB Notification: Performance of Templates: time 0.002973/0.6293, allocations: 0.5062 MB / 1.473 GB, free: 6.441 MB / 1.17 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/jenkins/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: 9.493067632894963]