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.001899/0.001899, allocations: 83.69 kB / 20.23 MB, free: 4.188 MB / 18.57 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.002002/0.002002, allocations: 165.7 kB / 23.55 MB, free: 0.8711 MB / 18.57 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.553/1.553, allocations: 177.1 MB / 203.9 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.073/3.073, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 1.094 kB / 0.8108 GB, free: 2.105 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.119e-05/4.351e-05, allocations: 8.25 kB / 0.8108 GB, free: 2.098 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2081/0.2082, allocations: 143.4 MB / 0.9508 GB, free: 2.246 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0001549/0.2083, allocations: 47.75 kB / 0.9509 GB, free: 2.199 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.608e-05/0.2084, allocations: 3.938 kB / 0.9509 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.2085, allocations: 8 kB / 0.9509 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.191e-05/0.2086, allocations: 15.84 kB / 0.9509 GB, free: 2.172 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005375/0.2091, allocations: 107.5 kB / 0.951 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.92e-05/0.2092, allocations: 39.84 kB / 0.9511 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.391e-05/0.2092, allocations: 0 / 0.9511 GB, free: 2.027 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 7.638e-05/0.2093, allocations: 23.97 kB / 0.9511 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 7.457e-05/0.2094, allocations: 11.92 kB / 0.9511 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.938e-05/0.2094, allocations: 4 kB / 0.9511 GB, free: 1.988 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002813/0.2097, allocations: 71.72 kB / 0.9512 GB, free: 1.918 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 5.604e-05/0.2097, allocations: 4 kB / 0.9512 GB, free: 1.914 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.905e-05/0.2098, allocations: 8 kB / 0.9512 GB, free: 1.906 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.21, allocations: 75.72 kB / 0.9512 GB, free: 1.832 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.21, allocations: 4 kB / 0.9512 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.172e-06/0.21, allocations: 0 / 0.9512 GB, free: 1.828 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.21, allocations: 4 kB / 0.9512 GB, free: 1.824 MB / 0.9011 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.0004971/0.2105, allocations: 360.3 kB / 0.9516 GB, free: 1.438 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.2105, allocations: 8.031 kB / 0.9516 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003076/0.2108, allocations: 28.81 kB / 0.9516 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.211, allocations: 112.6 kB / 0.9517 GB, free: 1.266 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.016e-05/0.211, allocations: 55.95 kB / 0.9518 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.2111, allocations: 12.12 kB / 0.9518 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.2112, allocations: 63.39 kB / 0.9519 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.2112, allocations: 4 kB / 0.9519 GB, free: 1.109 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.53e-05/0.2112, allocations: 3.984 kB / 0.9519 GB, free: 1.105 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/0.2112, allocations: 3.938 kB / 0.9519 GB, free: 1.102 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.82e-05/0.2113, allocations: 12 kB / 0.9519 GB, free: 1.09 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004746/0.2118, allocations: 259.8 kB / 0.9521 GB, free: 0.8008 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 5.867e-05/0.2118, allocations: 23.06 kB / 0.9522 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.304e-05/0.2119, allocations: 15.75 kB / 0.9522 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.2119, allocations: 0 / 0.9522 GB, free: 0.7461 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.2119, allocations: 33.39 kB / 0.9522 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=1): time 2.956e-06/0.2119, allocations: 7.922 kB / 0.9522 GB, free: 0.6953 MB / 0.9011 GB Notification: Performance of matching and sorting (n=1): time 0.0001646/0.2121, allocations: 41.64 kB / 0.9522 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/0.2121, allocations: 55.41 kB / 0.9523 GB, free: 0.582 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.2123, allocations: 165.9 kB / 0.9525 GB, free: 412 kB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 1.996e-05/0.2123, allocations: 25.7 kB / 0.9525 GB, free: 380 kB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.2124, allocations: 130.8 kB / 0.9526 GB, free: 244 kB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 9.407e-06/0.2124, allocations: 7.953 kB / 0.9526 GB, free: 236 kB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.2124, allocations: 27.5 kB / 0.9526 GB, free: 200 kB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0005028/0.2129, allocations: 496.1 kB / 0.9531 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.245e-05/0.2129, allocations: 7.984 kB / 0.9531 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.284e-05/0.213, allocations: 35 kB / 0.9532 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 6e-05/0.213, allocations: 39 kB / 0.9532 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2131, allocations: 0 / 0.9532 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.598e-05/0.2131, allocations: 53.62 kB / 0.9532 GB, free: 15.54 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.2132, allocations: 8.094 kB / 0.9533 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2132, allocations: 0 / 0.9533 GB, free: 15.53 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.2132, allocations: 4 kB / 0.9533 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.05e-05/0.2132, allocations: 7.938 kB / 0.9533 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.2132, allocations: 0 / 0.9533 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.475e-05/0.2133, allocations: 7.938 kB / 0.9533 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-06/0.2133, allocations: 0 / 0.9533 GB, free: 15.51 MB / 0.9167 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.0001237/0.2134, allocations: 168.5 kB / 0.9534 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.206e-05/0.2135, allocations: 3.953 kB / 0.9534 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.2135, allocations: 3.156 kB / 0.9534 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.2135, allocations: 8 kB / 0.9534 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.2135, allocations: 0 / 0.9534 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2135, allocations: 0 / 0.9534 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003501/0.2138, allocations: 400.5 kB / 0.9538 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2138, allocations: 4 kB / 0.9538 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.413e-05/0.2139, allocations: 0 / 0.9538 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.2139, allocations: 4 kB / 0.9538 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.708e-06/0.2139, allocations: 0 / 0.9538 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2139, allocations: 0 / 0.9538 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2139, allocations: 0 / 0.9538 GB, free: 14.87 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.214, allocations: 80.41 kB / 0.9539 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.214, allocations: 0 / 0.9539 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.214, allocations: 0 / 0.9539 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.232e-05/0.2141, allocations: 4 kB / 0.9539 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.2141, allocations: 3.984 kB / 0.9539 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.2141, allocations: 3.938 kB / 0.9539 GB, free: 14.76 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 7.996e-05/0.2142, allocations: 127.2 kB / 0.954 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.2142, allocations: 4 kB / 0.954 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001948/0.2144, allocations: 4 kB / 0.9541 GB, free: 14.62 MB / 0.9167 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.0001284/0.2145, allocations: 99.19 kB / 0.9541 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.2146, allocations: 27.7 kB / 0.9542 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2146, allocations: 0 / 0.9542 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 2e-05/0.2146, allocations: 15.62 kB / 0.9542 GB, free: 14.47 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002269/0.2149, allocations: 5.875 kB / 0.9542 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000359/0.2152, allocations: 114.3 kB / 0.9543 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.474e-05/0.2153, allocations: 71.28 kB / 0.9544 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.962e-05/0.2154, allocations: 8.25 kB / 0.9544 GB, free: 14.23 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.245e-05/0.2154, allocations: 8.5 kB / 0.9544 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/0.2154, allocations: 0 / 0.9544 GB, free: 14.22 MB / 0.9167 GB Notification: Performance of Templates: time 0.003797/0.2192, allocations: 0.5646 MB / 0.9549 GB, free: 13.68 MB / 0.9167 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] 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: 8.348185382899828]