Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001381/0.001381, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001464/0.001464, allocations: 217.2 kB / 22.25 MB, free: 4.855 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.445/1.445, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.811/2.811, allocations: 476 MB / 0.7699 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [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.002103/0.002103, allocations: 68.11 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3634/0.3655, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1821/0.5476, allocations: 129.9 MB / 1.409 GB, free: 10.05 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001624/0.5478, allocations: 47.83 kB / 1.409 GB, free: 10 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.621e-05/0.5478, allocations: 0 / 1.409 GB, free: 10 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001296/0.548, allocations: 3.984 kB / 1.41 GB, free: 9.996 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.706e-05/0.548, allocations: 15.92 kB / 1.41 GB, free: 9.98 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.5486, allocations: 116.6 kB / 1.41 GB, free: 9.867 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 9.657e-05/0.5487, allocations: 31.91 kB / 1.41 GB, free: 9.836 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 3.595e-05/0.5487, allocations: 0 / 1.41 GB, free: 9.836 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.984e-05/0.5488, allocations: 23.91 kB / 1.41 GB, free: 9.812 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 7.884e-05/0.5488, allocations: 11.88 kB / 1.41 GB, free: 9.801 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.5489, allocations: 4 kB / 1.41 GB, free: 9.797 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002613/0.5491, allocations: 71.8 kB / 1.41 GB, free: 9.727 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 6.195e-05/0.5492, allocations: 7.969 kB / 1.41 GB, free: 9.719 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 3.241e-05/0.5492, allocations: 15.94 kB / 1.41 GB, free: 9.703 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000171/0.5494, allocations: 65.06 kB / 1.41 GB, free: 9.645 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.5494, allocations: 0 / 1.41 GB, free: 9.645 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.464e-06/0.5494, allocations: 0 / 1.41 GB, free: 9.645 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.5494, allocations: 0 / 1.41 GB, free: 9.645 MB / 1.107 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.0004475/0.5498, allocations: 270.2 kB / 1.41 GB, free: 9.352 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.5499, allocations: 8.031 kB / 1.41 GB, free: 9.344 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.5499, allocations: 30.75 kB / 1.41 GB, free: 9.305 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/0.5502, allocations: 24.91 kB / 1.41 GB, free: 9.281 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.5503, allocations: 110.3 kB / 1.41 GB, free: 9.148 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.172e-05/0.5504, allocations: 59.39 kB / 1.41 GB, free: 9.078 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.5504, allocations: 0 / 1.41 GB, free: 9.078 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001729/0.5505, allocations: 79.31 kB / 1.41 GB, free: 8.988 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.5505, allocations: 0 / 1.41 GB, free: 8.988 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.5506, allocations: 3.938 kB / 1.41 GB, free: 8.984 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.054e-05/0.5506, allocations: 8 kB / 1.41 GB, free: 8.977 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.434e-05/0.5506, allocations: 19.97 kB / 1.41 GB, free: 8.957 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004216/0.5511, allocations: 232 kB / 1.411 GB, free: 8.688 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.713e-05/0.5511, allocations: 14.58 kB / 1.411 GB, free: 8.664 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.82e-05/0.5511, allocations: 8.797 kB / 1.411 GB, free: 8.652 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 6.593e-06/0.5511, allocations: 4.062 kB / 1.411 GB, free: 8.648 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/0.5512, allocations: 30.56 kB / 1.411 GB, free: 8.609 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.5512, allocations: 0 / 1.411 GB, free: 8.609 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001513/0.5513, allocations: 37.64 kB / 1.411 GB, free: 8.566 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.5514, allocations: 63.34 kB / 1.411 GB, free: 8.492 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.5515, allocations: 106 kB / 1.411 GB, free: 8.379 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.5515, allocations: 25.7 kB / 1.411 GB, free: 8.348 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 7.985e-05/0.5516, allocations: 88.08 kB / 1.411 GB, free: 8.258 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 1.193e-05/0.5516, allocations: 11.89 kB / 1.411 GB, free: 8.246 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.5517, allocations: 13.72 kB / 1.411 GB, free: 8.227 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5518, allocations: 314.8 kB / 1.411 GB, free: 7.91 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.288e-05/0.5518, allocations: 11.92 kB / 1.411 GB, free: 7.898 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.029e-05/0.5519, allocations: 22.58 kB / 1.411 GB, free: 7.867 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.852e-05/0.5519, allocations: 30.58 kB / 1.411 GB, free: 7.828 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.5519, allocations: 0 / 1.411 GB, free: 7.828 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001001/0.552, allocations: 53.62 kB / 1.411 GB, free: 7.77 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.552, allocations: 11.94 kB / 1.411 GB, free: 7.758 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.552, allocations: 0 / 1.411 GB, free: 7.758 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.5521, allocations: 0 / 1.411 GB, free: 7.758 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.408e-05/0.5521, allocations: 19.86 kB / 1.411 GB, free: 7.738 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5521, allocations: 0 / 1.411 GB, free: 7.738 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.036e-05/0.5522, allocations: 3.953 kB / 1.411 GB, free: 7.734 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.5522, allocations: 4.094 kB / 1.411 GB, free: 7.73 MB / 1.107 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.749e-05/0.5523, allocations: 113.8 kB / 1.412 GB, free: 7.609 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.5523, allocations: 4 kB / 1.412 GB, free: 7.605 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.741e-05/0.5523, allocations: 3.156 kB / 1.412 GB, free: 7.605 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.5523, allocations: 3.938 kB / 1.412 GB, free: 7.602 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.5523, allocations: 0 / 1.412 GB, free: 7.602 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.5523, allocations: 3.938 kB / 1.412 GB, free: 7.598 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003271/0.5527, allocations: 321.8 kB / 1.412 GB, free: 7.23 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5527, allocations: 0 / 1.412 GB, free: 7.23 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.516e-05/0.5527, allocations: 3.938 kB / 1.412 GB, free: 7.227 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5527, allocations: 4.031 kB / 1.412 GB, free: 7.223 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.5527, allocations: 0 / 1.412 GB, free: 7.223 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.5527, allocations: 0 / 1.412 GB, free: 7.223 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5527, allocations: 4.25 kB / 1.412 GB, free: 7.219 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.465e-05/0.5528, allocations: 57.14 kB / 1.412 GB, free: 7.145 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 1.601e-05/0.5528, allocations: 11.88 kB / 1.412 GB, free: 7.133 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.5528, allocations: 4 kB / 1.412 GB, free: 7.129 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.068e-05/0.5529, allocations: 4 kB / 1.412 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.039e-05/0.5529, allocations: 0 / 1.412 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-06/0.5529, allocations: 0 / 1.412 GB, free: 7.125 MB / 1.107 GB Notification: Performance of sorting global known variables: time 6.819e-05/0.553, allocations: 87.3 kB / 1.412 GB, free: 7.039 MB / 1.107 GB Notification: Performance of sort global known variables: time 1.41e-07/0.553, allocations: 7.938 kB / 1.412 GB, free: 7.031 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001987/0.5532, allocations: 8 kB / 1.412 GB, free: 7.023 MB / 1.107 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.0004234/0.5536, allocations: 0.5929 MB / 1.413 GB, free: 6.402 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0001004/0.5537, allocations: 15.94 kB / 1.413 GB, free: 6.387 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.5537, allocations: 4 kB / 1.413 GB, free: 6.383 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 4.609e-06/0.5537, allocations: 0 / 1.413 GB, free: 6.383 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002599/0.5539, allocations: 6.469 kB / 1.413 GB, free: 6.379 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004087/0.5544, allocations: 145.3 kB / 1.413 GB, free: 6.195 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.78e-05/0.5544, allocations: 59.34 kB / 1.413 GB, free: 6.117 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 5.312e-05/0.5545, allocations: 12.06 kB / 1.413 GB, free: 6.105 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.064e-05/0.5545, allocations: 7.438 kB / 1.413 GB, free: 6.098 MB / 1.107 GB Notification: Performance of SimCode: time 3.7e-07/0.5545, allocations: 0 / 1.413 GB, free: 6.098 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.5849, allocations: 1.893 MB / 1.415 GB, free: 4.344 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.97, allocations: 5.812 kB / 1.415 GB, free: 4.344 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 18.721964447759092]