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.00141/0.00141, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001688/0.001688, allocations: 222.6 kB / 23 MB, free: 4.914 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 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.283/3.283, allocations: 0.5107 GB / 0.8166 GB, free: 17.86 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: 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.002341/0.002341, allocations: 72.3 kB / 1.187 GB, free: 13.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4262, allocations: 181.9 MB / 1.365 GB, free: 13.77 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1882/0.6144, allocations: 129.9 MB / 1.492 GB, free: 11.31 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0002038/0.6146, allocations: 51.88 kB / 1.492 GB, free: 11.26 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.6146, allocations: 0 / 1.492 GB, free: 11.26 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.6148, allocations: 7.922 kB / 1.492 GB, free: 11.25 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 9.878e-05/0.6149, allocations: 11.92 kB / 1.492 GB, free: 11.24 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.6155, allocations: 114.8 kB / 1.492 GB, free: 11.13 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.6156, allocations: 39.78 kB / 1.492 GB, free: 11.09 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.495e-05/0.6156, allocations: 0 / 1.492 GB, free: 11.09 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 4.988e-05/0.6157, allocations: 15.98 kB / 1.492 GB, free: 11.07 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.6158, allocations: 7.984 kB / 1.492 GB, free: 11.07 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.6158, allocations: 4 kB / 1.492 GB, free: 11.06 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.6161, allocations: 71.73 kB / 1.492 GB, free: 10.99 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 5.651e-05/0.6162, allocations: 7.938 kB / 1.492 GB, free: 10.98 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 3.805e-05/0.6162, allocations: 19.97 kB / 1.492 GB, free: 10.96 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.6164, allocations: 71.73 kB / 1.492 GB, free: 10.89 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6164, allocations: 0 / 1.492 GB, free: 10.89 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6164, allocations: 0 / 1.492 GB, free: 10.89 MB / 1.186 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.6164, allocations: 0 / 1.492 GB, free: 10.89 MB / 1.186 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.0004898/0.6169, allocations: 262.3 kB / 1.492 GB, free: 10.61 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.6169, allocations: 8.031 kB / 1.492 GB, free: 10.6 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002701/0.6172, allocations: 20.88 kB / 1.492 GB, free: 10.58 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/0.6174, allocations: 110.5 kB / 1.492 GB, free: 10.45 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.758e-05/0.6174, allocations: 59.34 kB / 1.492 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.66e-05/0.6175, allocations: 3.984 kB / 1.492 GB, free: 10.38 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.6176, allocations: 71.39 kB / 1.492 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.6176, allocations: 0 / 1.492 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.408e-05/0.6177, allocations: 0 / 1.492 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.544e-05/0.6177, allocations: 7.984 kB / 1.492 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/0.6177, allocations: 19.92 kB / 1.492 GB, free: 10.27 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004412/0.6182, allocations: 204.6 kB / 1.493 GB, free: 10.04 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 5.048e-05/0.6182, allocations: 22.58 kB / 1.493 GB, free: 10 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.273e-05/0.6183, allocations: 12.8 kB / 1.493 GB, free: 9.988 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.6183, allocations: 0 / 1.493 GB, free: 9.988 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.201e-05/0.6183, allocations: 34.62 kB / 1.493 GB, free: 9.945 MB / 1.186 GB Notification: Performance of pre-optimization done (n=1): time 1.292e-06/0.6183, allocations: 0 / 1.493 GB, free: 9.945 MB / 1.186 GB Notification: Performance of matching and sorting (n=1): time 0.0001703/0.6185, allocations: 33.64 kB / 1.493 GB, free: 9.906 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/0.6185, allocations: 51.41 kB / 1.493 GB, free: 9.844 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.6186, allocations: 117.7 kB / 1.493 GB, free: 9.719 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/0.6187, allocations: 29.7 kB / 1.493 GB, free: 9.684 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 6.521e-05/0.6187, allocations: 92.03 kB / 1.493 GB, free: 9.59 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 9.538e-06/0.6187, allocations: 16.05 kB / 1.493 GB, free: 9.574 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.6188, allocations: 13.72 kB / 1.493 GB, free: 9.555 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.6189, allocations: 318.8 kB / 1.493 GB, free: 9.234 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.434e-05/0.6189, allocations: 0 / 1.493 GB, free: 9.234 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.904e-05/0.619, allocations: 26.56 kB / 1.493 GB, free: 9.199 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.619, allocations: 30.52 kB / 1.493 GB, free: 9.16 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.619, allocations: 0 / 1.493 GB, free: 9.16 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.331e-05/0.6191, allocations: 57.69 kB / 1.493 GB, free: 9.098 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6191, allocations: 4 kB / 1.493 GB, free: 9.094 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.6191, allocations: 4 kB / 1.493 GB, free: 9.09 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.6191, allocations: 0 / 1.493 GB, free: 9.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.6192, allocations: 8 kB / 1.493 GB, free: 9.082 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.6192, allocations: 7.938 kB / 1.493 GB, free: 9.074 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.322e-05/0.6193, allocations: 3.938 kB / 1.493 GB, free: 9.07 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/0.6193, allocations: 0 / 1.493 GB, free: 9.07 MB / 1.186 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.0001057/0.6194, allocations: 114.5 kB / 1.494 GB, free: 8.949 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.027e-05/0.6194, allocations: 3.953 kB / 1.494 GB, free: 8.945 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.244e-05/0.6194, allocations: 11.19 kB / 1.494 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.6194, allocations: 0 / 1.494 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.6194, allocations: 256 / 1.494 GB, free: 8.934 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.6194, allocations: 3.938 kB / 1.494 GB, free: 8.93 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002719/0.6197, allocations: 298.4 kB / 1.494 GB, free: 8.598 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.6197, allocations: 0 / 1.494 GB, free: 8.598 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.641e-05/0.6197, allocations: 4 kB / 1.494 GB, free: 8.594 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.6197, allocations: 0 / 1.494 GB, free: 8.594 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.6197, allocations: 3.938 kB / 1.494 GB, free: 8.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.6197, allocations: 3.938 kB / 1.494 GB, free: 8.586 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6197, allocations: 3.984 kB / 1.494 GB, free: 8.582 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.755e-05/0.6198, allocations: 57.17 kB / 1.494 GB, free: 8.508 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.784e-05/0.6199, allocations: 12 kB / 1.494 GB, free: 8.496 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.6199, allocations: 0 / 1.494 GB, free: 8.496 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/0.62, allocations: 7.922 kB / 1.494 GB, free: 8.488 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.62, allocations: 7.938 kB / 1.494 GB, free: 8.48 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.744e-06/0.62, allocations: 3.938 kB / 1.494 GB, free: 8.477 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.381e-05/0.62, allocations: 79.28 kB / 1.494 GB, free: 8.398 MB / 1.186 GB Notification: Performance of sort global known variables: time 7e-08/0.62, allocations: 0 / 1.494 GB, free: 8.398 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001937/0.6202, allocations: 8 kB / 1.494 GB, free: 8.391 MB / 1.186 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.0001191/0.6203, allocations: 107.3 kB / 1.494 GB, free: 8.277 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.266e-05/0.6204, allocations: 11.94 kB / 1.494 GB, free: 8.266 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.6204, allocations: 0 / 1.494 GB, free: 8.266 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/0.6204, allocations: 0 / 1.494 GB, free: 8.266 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.6207, allocations: 8.094 kB / 1.494 GB, free: 8.258 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003203/0.621, allocations: 136.4 kB / 1.494 GB, free: 8.094 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.058e-05/0.6211, allocations: 67.33 kB / 1.494 GB, free: 8.008 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.6211, allocations: 11.69 kB / 1.494 GB, free: 7.996 MB / 1.186 GB Notification: Performance of SimCode: time 4.11e-07/0.6211, allocations: 0 / 1.494 GB, free: 7.996 MB / 1.186 GB Notification: Performance of Templates: time 0.002513/0.6236, allocations: 0.5685 MB / 1.495 GB, free: 7.43 MB / 1.186 GB " [Timeout remaining time 299] 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/jenkins1/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: 11.47416347404942]