Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001865/0.001865, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002105/0.002105, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.58/1.58, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.463/3.463, allocations: 429.5 MB / 0.6729 GB, free: 4.004 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.8774 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.86e-05/3.017e-05, allocations: 4.703 kB / 0.8774 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.2303/0.2303, allocations: 143.4 MB / 1.017 GB, free: 6.77 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.000151/0.2304, allocations: 51.8 kB / 1.018 GB, free: 6.719 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.662e-05/0.2305, allocations: 0 / 1.018 GB, free: 6.719 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 8.786e-05/0.2306, allocations: 3.938 kB / 1.018 GB, free: 6.715 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 5.885e-05/0.2306, allocations: 15.88 kB / 1.018 GB, free: 6.699 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004206/0.231, allocations: 111.5 kB / 1.018 GB, free: 6.59 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 7.35e-05/0.2311, allocations: 39.86 kB / 1.018 GB, free: 6.551 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 2.243e-05/0.2311, allocations: 4 kB / 1.018 GB, free: 6.547 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 5.267e-05/0.2312, allocations: 23.97 kB / 1.018 GB, free: 6.523 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 5.221e-05/0.2312, allocations: 11.92 kB / 1.018 GB, free: 6.512 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.2313, allocations: 4 kB / 1.018 GB, free: 6.508 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.2315, allocations: 59.8 kB / 1.018 GB, free: 6.449 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 4.603e-05/0.2315, allocations: 15.92 kB / 1.018 GB, free: 6.434 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 2.112e-05/0.2315, allocations: 8 kB / 1.018 GB, free: 6.426 MB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.2317, allocations: 71.78 kB / 1.018 GB, free: 6.355 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.2317, allocations: 0 / 1.018 GB, free: 6.355 MB / 0.9792 GB Notification: Performance of FrontEnd: time 7.41e-07/0.2317, allocations: 4 kB / 1.018 GB, free: 6.352 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.2317, allocations: 4 kB / 1.018 GB, free: 6.348 MB / 0.9792 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.0003975/0.2321, allocations: 364.2 kB / 1.018 GB, free: 5.957 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 2.551e-05/0.2321, allocations: 11.97 kB / 1.018 GB, free: 5.945 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000234/0.2324, allocations: 32.83 kB / 1.018 GB, free: 5.914 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.2325, allocations: 112.6 kB / 1.018 GB, free: 5.777 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/0.2325, allocations: 51.97 kB / 1.018 GB, free: 5.715 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.172e-05/0.2326, allocations: 4.125 kB / 1.018 GB, free: 5.711 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.2327, allocations: 75.33 kB / 1.019 GB, free: 5.625 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-06/0.2327, allocations: 4 kB / 1.019 GB, free: 5.621 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2327, allocations: 0 / 1.019 GB, free: 5.621 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.2327, allocations: 0 / 1.019 GB, free: 5.621 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.649e-05/0.2328, allocations: 15.98 kB / 1.019 GB, free: 5.605 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000408/0.2332, allocations: 263.7 kB / 1.019 GB, free: 5.312 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 4.17e-05/0.2332, allocations: 23.06 kB / 1.019 GB, free: 5.277 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.522e-05/0.2332, allocations: 15.69 kB / 1.019 GB, free: 5.258 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 6.582e-06/0.2332, allocations: 0 / 1.019 GB, free: 5.258 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.2333, allocations: 37.39 kB / 1.019 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=1): time 6.32e-07/0.2333, allocations: 0 / 1.019 GB, free: 5.211 MB / 0.9792 GB Notification: Performance of matching and sorting (n=1): time 0.000127/0.2334, allocations: 37.69 kB / 1.019 GB, free: 5.168 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.2334, allocations: 55.41 kB / 1.019 GB, free: 5.102 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.2336, allocations: 165.9 kB / 1.019 GB, free: 4.922 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.2336, allocations: 25.7 kB / 1.019 GB, free: 4.891 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 9.304e-05/0.2337, allocations: 138.8 kB / 1.019 GB, free: 4.75 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 6.292e-06/0.2337, allocations: 4 kB / 1.019 GB, free: 4.746 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.2337, allocations: 23.38 kB / 1.019 GB, free: 4.715 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0002788/0.234, allocations: 496.1 kB / 1.02 GB, free: 4.219 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.234, allocations: 12.06 kB / 1.02 GB, free: 4.207 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-05/0.2341, allocations: 35.05 kB / 1.02 GB, free: 4.16 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.266e-05/0.2341, allocations: 35.06 kB / 1.02 GB, free: 4.113 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.2341, allocations: 0 / 1.02 GB, free: 4.113 MB / 0.9792 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001152/0.2342, allocations: 61.52 kB / 1.02 GB, free: 4.047 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.2343, allocations: 4 kB / 1.02 GB, free: 4.043 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-06/0.2343, allocations: 0 / 1.02 GB, free: 4.043 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.2343, allocations: 8.094 kB / 1.02 GB, free: 4.035 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.798e-05/0.2343, allocations: 4 kB / 1.02 GB, free: 4.031 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.715e-06/0.2343, allocations: 0 / 1.02 GB, free: 4.031 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.411e-05/0.2344, allocations: 7.938 kB / 1.02 GB, free: 4.023 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.637e-06/0.2344, allocations: 3.938 kB / 1.02 GB, free: 4.02 MB / 0.9792 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.000123/0.2345, allocations: 160.5 kB / 1.02 GB, free: 3.852 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.2345, allocations: 7.984 kB / 1.02 GB, free: 3.844 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.994e-05/0.2345, allocations: 3.156 kB / 1.02 GB, free: 3.836 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.2345, allocations: 0 / 1.02 GB, free: 3.836 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.2345, allocations: 4 kB / 1.02 GB, free: 3.832 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.192e-06/0.2345, allocations: 4 kB / 1.02 GB, free: 3.828 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003505/0.2349, allocations: 400.3 kB / 1.02 GB, free: 3.391 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2349, allocations: 0 / 1.02 GB, free: 3.391 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.25e-05/0.2349, allocations: 0 / 1.02 GB, free: 3.391 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.392e-06/0.2349, allocations: 4 kB / 1.02 GB, free: 3.387 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.457e-06/0.2349, allocations: 0 / 1.02 GB, free: 3.387 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2349, allocations: 0 / 1.02 GB, free: 3.387 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2349, allocations: 0 / 1.02 GB, free: 3.387 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.353e-05/0.235, allocations: 80.33 kB / 1.021 GB, free: 3.285 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.235, allocations: 0 / 1.021 GB, free: 3.285 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.235, allocations: 4.156 kB / 1.021 GB, free: 3.281 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.856e-05/0.2351, allocations: 7.938 kB / 1.021 GB, free: 3.273 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.2351, allocations: 3.984 kB / 1.021 GB, free: 3.27 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.2351, allocations: 3.938 kB / 1.021 GB, free: 3.266 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 8.589e-05/0.2352, allocations: 135.4 kB / 1.021 GB, free: 3.133 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2352, allocations: 4 kB / 1.021 GB, free: 3.129 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0001762/0.2354, allocations: 4 kB / 1.021 GB, free: 3.125 MB / 0.9792 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.0001089/0.2355, allocations: 95.25 kB / 1.021 GB, free: 3.023 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 9.004e-05/0.2356, allocations: 27.61 kB / 1.021 GB, free: 2.996 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.2356, allocations: 0 / 1.021 GB, free: 2.996 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 1.694e-05/0.2356, allocations: 15.62 kB / 1.021 GB, free: 2.977 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002069/0.2358, allocations: 8 kB / 1.021 GB, free: 2.969 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.2361, allocations: 106.3 kB / 1.021 GB, free: 2.836 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.993e-05/0.2362, allocations: 63.28 kB / 1.021 GB, free: 2.754 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 4.465e-05/0.2362, allocations: 8.188 kB / 1.021 GB, free: 2.746 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.568e-05/0.2362, allocations: 12.5 kB / 1.021 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of SimCode: time 5.61e-07/0.2362, allocations: 0 / 1.021 GB, free: 2.734 MB / 0.9792 GB Notification: Performance of Templates: time 0.003353/0.2396, allocations: 0.5712 MB / 1.022 GB, free: 2.211 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.824525345000438]