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.001403/0.001403, allocations: 88.72 kB / 19.44 MB, free: 356 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.001558/0.001558, allocations: 157.7 kB / 22.75 MB, free: 1.684 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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.578 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.431/3.431, allocations: 429.6 MB / 0.673 GB, free: 3.891 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.593e-06/1.593e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.834e-05/2.994e-05, allocations: 3.938 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1995/0.1995, allocations: 130 MB / 1.005 GB, free: 4.035 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001841/0.1997, allocations: 55.75 kB / 1.005 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.022e-05/0.1997, allocations: 0 / 1.005 GB, free: 3.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.1999, allocations: 7.922 kB / 1.005 GB, free: 3.973 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.2, allocations: 7.938 kB / 1.005 GB, free: 3.965 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005983/0.2006, allocations: 115.5 kB / 1.005 GB, free: 3.852 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.2007, allocations: 39.84 kB / 1.005 GB, free: 3.812 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.631e-05/0.2007, allocations: 4 kB / 1.005 GB, free: 3.809 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.684e-05/0.2008, allocations: 15.92 kB / 1.005 GB, free: 3.793 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.767e-05/0.2008, allocations: 15.97 kB / 1.005 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.444e-05/0.2009, allocations: 0 / 1.005 GB, free: 3.777 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002972/0.2012, allocations: 71.69 kB / 1.005 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.813e-05/0.2012, allocations: 11.98 kB / 1.005 GB, free: 3.695 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.72e-05/0.2013, allocations: 7.984 kB / 1.005 GB, free: 3.688 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.2015, allocations: 71.78 kB / 1.005 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2015, allocations: 0 / 1.005 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2015, allocations: 0 / 1.005 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.418e-06/0.2015, allocations: 4 kB / 1.005 GB, free: 3.613 MB / 0.9636 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.0005044/0.202, allocations: 262.3 kB / 1.005 GB, free: 3.328 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.202, allocations: 8.031 kB / 1.005 GB, free: 3.32 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003281/0.2024, allocations: 36.78 kB / 1.005 GB, free: 3.285 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.2025, allocations: 105.7 kB / 1.005 GB, free: 3.156 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.2026, allocations: 55.97 kB / 1.005 GB, free: 3.09 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.723e-05/0.2026, allocations: 4.125 kB / 1.005 GB, free: 3.086 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.2028, allocations: 79.38 kB / 1.005 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.2028, allocations: 0 / 1.005 GB, free: 2.996 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.2028, allocations: 3.984 kB / 1.005 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.279e-05/0.2029, allocations: 0 / 1.005 GB, free: 2.992 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.758e-05/0.203, allocations: 19.98 kB / 1.005 GB, free: 2.973 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.2034, allocations: 212.5 kB / 1.006 GB, free: 2.734 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 5.948e-05/0.2035, allocations: 18.58 kB / 1.006 GB, free: 2.707 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.2035, allocations: 4.859 kB / 1.006 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.111e-06/0.2035, allocations: 0 / 1.006 GB, free: 2.699 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/0.2035, allocations: 38.62 kB / 1.006 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 8.62e-07/0.2035, allocations: 0 / 1.006 GB, free: 2.652 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001613/0.2037, allocations: 37.64 kB / 1.006 GB, free: 2.609 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2038, allocations: 51.41 kB / 1.006 GB, free: 2.547 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003834/0.2041, allocations: 105.8 kB / 1.006 GB, free: 2.434 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.2042, allocations: 25.7 kB / 1.006 GB, free: 2.402 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.523e-05/0.2042, allocations: 96.03 kB / 1.006 GB, free: 2.305 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 5.32e-06/0.2042, allocations: 3.938 kB / 1.006 GB, free: 2.301 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/0.2043, allocations: 17.72 kB / 1.006 GB, free: 2.277 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001856/0.2045, allocations: 314.8 kB / 1.006 GB, free: 1.961 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.2045, allocations: 8.125 kB / 1.006 GB, free: 1.953 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.908e-05/0.2045, allocations: 30.56 kB / 1.006 GB, free: 1.914 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.598e-05/0.2046, allocations: 30.52 kB / 1.006 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2046, allocations: 0 / 1.006 GB, free: 1.875 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001082/0.2047, allocations: 57.83 kB / 1.006 GB, free: 1.812 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.2047, allocations: 6.5 kB / 1.006 GB, free: 1.809 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2047, allocations: 4 kB / 1.006 GB, free: 1.805 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.2048, allocations: 8.094 kB / 1.007 GB, free: 1.797 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.842e-05/0.2048, allocations: 4 kB / 1.007 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.969e-06/0.2048, allocations: 4 kB / 1.007 GB, free: 1.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.2049, allocations: 3.938 kB / 1.007 GB, free: 1.785 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.2049, allocations: 7.984 kB / 1.007 GB, free: 1.777 MB / 0.9636 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.0001089/0.205, allocations: 117.7 kB / 1.007 GB, free: 1.652 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.205, allocations: 4 kB / 1.007 GB, free: 1.648 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.2051, allocations: 3.156 kB / 1.007 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2051, allocations: 0 / 1.007 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.2051, allocations: 0 / 1.007 GB, free: 1.641 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2051, allocations: 4 kB / 1.007 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003249/0.2054, allocations: 298.4 kB / 1.007 GB, free: 1.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2054, allocations: 4 kB / 1.007 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.371e-05/0.2054, allocations: 0 / 1.007 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.2054, allocations: 0 / 1.007 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.2054, allocations: 0 / 1.007 GB, free: 1.301 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.2054, allocations: 3.984 kB / 1.007 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.2054, allocations: 0 / 1.007 GB, free: 1.297 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.723e-05/0.2055, allocations: 68.97 kB / 1.007 GB, free: 1.211 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.186e-05/0.2055, allocations: 4 kB / 1.007 GB, free: 1.207 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.584e-05/0.2055, allocations: 4.062 kB / 1.007 GB, free: 1.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.2056, allocations: 7.984 kB / 1.007 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.2056, allocations: 0 / 1.007 GB, free: 1.195 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.398e-06/0.2057, allocations: 3.938 kB / 1.007 GB, free: 1.191 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.54e-05/0.2057, allocations: 83.28 kB / 1.007 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.2057, allocations: 0 / 1.007 GB, free: 1.109 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002028/0.2059, allocations: 11.94 kB / 1.007 GB, free: 1.098 MB / 0.9636 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.0001309/0.2061, allocations: 99.23 kB / 1.007 GB, free: 0.9922 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.159e-05/0.2062, allocations: 24 kB / 1.007 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.2062, allocations: 0 / 1.007 GB, free: 0.9688 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 7.384e-06/0.2062, allocations: 4 kB / 1.007 GB, free: 0.9648 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002849/0.2065, allocations: 9.859 kB / 1.007 GB, free: 0.957 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003017/0.2068, allocations: 108.8 kB / 1.007 GB, free: 0.8242 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.915e-05/0.2068, allocations: 59.3 kB / 1.007 GB, free: 0.7461 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.555e-05/0.2069, allocations: 16.25 kB / 1.007 GB, free: 0.7305 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.418e-05/0.2069, allocations: 12.5 kB / 1.007 GB, free: 0.7188 MB / 0.9636 GB Notification: Performance of SimCode: time 3.91e-07/0.2069, allocations: 0 / 1.007 GB, free: 0.7188 MB / 0.9636 GB Notification: Performance of Templates: time 0.003052/0.21, allocations: 0.5549 MB / 1.008 GB, free: 220 kB / 0.9636 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] 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.602270469069481]