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.0008837/0.0008837, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 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.0009931/0.0009931, allocations: 165.9 kB / 22.45 MB, free: 2.109 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 0.9439/0.9439, allocations: 177.2 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.749/1.749, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.594e-06/2.594e-06, allocations: 4 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.264e-05/2.524e-05, allocations: 5.234 kB / 0.9505 GB, free: 3.48 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.6612/0.6612, allocations: 130 MB / 1.077 GB, free: 40.2 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0001271/0.6613, allocations: 54.83 kB / 1.077 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.6613, allocations: 2.844 kB / 1.077 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001252/0.6615, allocations: 3.375 kB / 1.077 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.6615, allocations: 18.62 kB / 1.078 GB, free: 40.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.662, allocations: 110.9 kB / 1.078 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 8.571e-05/0.662, allocations: 35.53 kB / 1.078 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.6621, allocations: 6.438 kB / 1.078 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 5.387e-05/0.6621, allocations: 25.28 kB / 1.078 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.65e-05/0.6622, allocations: 10.34 kB / 1.078 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.356e-05/0.6622, allocations: 0 / 1.078 GB, free: 40.18 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001858/0.6624, allocations: 73.97 kB / 1.078 GB, free: 40.17 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 4.837e-05/0.6625, allocations: 13.89 kB / 1.078 GB, free: 40.17 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 2.028e-05/0.6625, allocations: 6.906 kB / 1.078 GB, free: 40.17 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.6626, allocations: 73.61 kB / 1.078 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.6626, allocations: 0 / 1.078 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.784e-06/0.6626, allocations: 1.203 kB / 1.078 GB, free: 40.16 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.6626, allocations: 0 / 1.078 GB, free: 40.16 MB / 0.9948 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.0003305/0.663, allocations: 261.1 kB / 1.078 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.78e-05/0.663, allocations: 8.562 kB / 1.078 GB, free: 39.91 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.622e-05/0.663, allocations: 37 kB / 1.078 GB, free: 39.87 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.6632, allocations: 23.62 kB / 1.078 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.774e-05/0.6632, allocations: 105.1 kB / 1.078 GB, free: 39.74 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.727e-05/0.6633, allocations: 55.03 kB / 1.078 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.6633, allocations: 3.938 kB / 1.078 GB, free: 39.67 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.6634, allocations: 78.61 kB / 1.078 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/0.6634, allocations: 0 / 1.078 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.6634, allocations: 0 / 1.078 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.523e-05/0.6634, allocations: 2.969 kB / 1.078 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.278e-05/0.6635, allocations: 18.75 kB / 1.078 GB, free: 39.61 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.6638, allocations: 231 kB / 1.079 GB, free: 39.37 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 3.368e-05/0.6638, allocations: 21.61 kB / 1.079 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.413e-05/0.6638, allocations: 7.672 kB / 1.079 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-06/0.6638, allocations: 0 / 1.079 GB, free: 39.34 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.498e-05/0.6638, allocations: 31.77 kB / 1.079 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.6638, allocations: 0 / 1.079 GB, free: 39.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=1): time 0.0001122/0.664, allocations: 38.22 kB / 1.079 GB, free: 39.27 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.926e-05/0.664, allocations: 54.41 kB / 1.079 GB, free: 39.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.991e-05/0.664, allocations: 117.5 kB / 1.079 GB, free: 39.1 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.861e-06/0.664, allocations: 25.7 kB / 1.079 GB, free: 39.07 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.6641, allocations: 92 kB / 1.079 GB, free: 38.98 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 4.739e-06/0.6641, allocations: 7.094 kB / 1.079 GB, free: 38.97 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.22e-05/0.6641, allocations: 16 kB / 1.079 GB, free: 38.96 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.437e-05/0.6641, allocations: 318.1 kB / 1.079 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.078e-05/0.6641, allocations: 6.406 kB / 1.079 GB, free: 38.64 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.792e-05/0.6641, allocations: 26.16 kB / 1.079 GB, free: 38.62 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.677e-05/0.6642, allocations: 30.14 kB / 1.079 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.6642, allocations: 0 / 1.079 GB, free: 38.59 MB / 0.9948 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.944e-05/0.6642, allocations: 60.64 kB / 1.079 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/0.6642, allocations: 5.844 kB / 1.079 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.6642, allocations: 2.156 kB / 1.079 GB, free: 38.55 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.6642, allocations: 6.859 kB / 1.079 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.259e-05/0.6643, allocations: 5.438 kB / 1.079 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.6643, allocations: 3.469 kB / 1.079 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.057e-05/0.6643, allocations: 7.375 kB / 1.079 GB, free: 38.54 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.6643, allocations: 8.031 kB / 1.079 GB, free: 38.54 MB / 0.9948 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 3.641e-05/0.6644, allocations: 112.4 kB / 1.08 GB, free: 38.42 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.514e-05/0.6644, allocations: 2.938 kB / 1.08 GB, free: 38.42 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.843e-05/0.6644, allocations: 6.656 kB / 1.08 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.6644, allocations: 0 / 1.08 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6644, allocations: 0 / 1.08 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6644, allocations: 2.875 kB / 1.08 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.6645, allocations: 321 kB / 1.08 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.6645, allocations: 0 / 1.08 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.729e-06/0.6645, allocations: 1.203 kB / 1.08 GB, free: 38.07 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.6645, allocations: 4.031 kB / 1.08 GB, free: 38.06 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.6645, allocations: 0 / 1.08 GB, free: 38.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.6645, allocations: 6.875 kB / 1.08 GB, free: 38.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6645, allocations: 0 / 1.08 GB, free: 38.06 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.354e-05/0.6646, allocations: 61.92 kB / 1.08 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-06/0.6646, allocations: 2.844 kB / 1.08 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.177e-05/0.6646, allocations: 1.062 kB / 1.08 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.065e-05/0.6646, allocations: 6.906 kB / 1.08 GB, free: 37.99 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.088e-05/0.6647, allocations: 8.344 kB / 1.08 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-06/0.6647, allocations: 0 / 1.08 GB, free: 37.98 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 1.614e-05/0.6647, allocations: 92.64 kB / 1.08 GB, free: 37.91 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6647, allocations: 0 / 1.08 GB, free: 37.91 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001262/0.6648, allocations: 5.969 kB / 1.08 GB, free: 37.91 MB / 0.9948 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.0001325/0.6649, allocations: 0.5913 MB / 1.081 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 6.485e-05/0.665, allocations: 18.62 kB / 1.081 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.665, allocations: 0 / 1.081 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.266e-06/0.665, allocations: 2.625 kB / 1.081 GB, free: 37.32 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000208/0.6652, allocations: 12.94 kB / 1.081 GB, free: 37.31 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002622/0.6655, allocations: 134.6 kB / 1.081 GB, free: 37.17 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.865e-05/0.6655, allocations: 61.72 kB / 1.081 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 3.597e-05/0.6655, allocations: 8.484 kB / 1.081 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.634e-05/0.6656, allocations: 8.5 kB / 1.081 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of SimCode: time 6.21e-07/0.6656, allocations: 0 / 1.081 GB, free: 37.09 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.6829, allocations: 2.036 MB / 1.083 GB, free: 36.23 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.095/7.778, allocations: 15.12 kB / 1.083 GB, free: 36.23 MB / 0.9948 GB " [Timeout remaining time 292] (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/jenkins/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: 12.085991835221648]