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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 109 kB / 17.54 MB, free: 4.781 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 189.9 kB / 20.71 MB, free: 1.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.553/2.553, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001902/0.001902, allocations: 63.89 kB / 1.107 GB, free: 5.215 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7843/0.7862, allocations: 168.7 MB / 1.271 GB, free: 7.715 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.178/0.9641, allocations: 148.3 MB / 1.416 GB, free: 10.02 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.0001593/0.9643, allocations: 59.86 kB / 1.416 GB, free: 9.973 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.749e-05/0.9643, allocations: 0 / 1.416 GB, free: 9.973 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.9644, allocations: 1.219 kB / 1.416 GB, free: 9.973 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 8.339e-05/0.9645, allocations: 18.03 kB / 1.416 GB, free: 9.957 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005334/0.9651, allocations: 113.3 kB / 1.416 GB, free: 9.879 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001004/0.9652, allocations: 33.89 kB / 1.416 GB, free: 9.863 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.9652, allocations: 5.141 kB / 1.416 GB, free: 9.859 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.9653, allocations: 17.17 kB / 1.416 GB, free: 9.852 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 6.821e-05/0.9653, allocations: 6.281 kB / 1.416 GB, free: 9.852 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.191e-05/0.9653, allocations: 6.094 kB / 1.416 GB, free: 9.848 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.9656, allocations: 89.14 kB / 1.417 GB, free: 9.793 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 5.27e-05/0.9657, allocations: 15.53 kB / 1.417 GB, free: 9.781 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 2.928e-05/0.9657, allocations: 9.406 kB / 1.417 GB, free: 9.777 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.9659, allocations: 76.36 kB / 1.417 GB, free: 9.738 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.9659, allocations: 0 / 1.417 GB, free: 9.738 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9659, allocations: 4 kB / 1.417 GB, free: 9.734 MB / 1.107 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.9659, allocations: 1.5 kB / 1.417 GB, free: 9.734 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.0004349/0.9663, allocations: 335.3 kB / 1.417 GB, free: 9.371 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.9664, allocations: 10.69 kB / 1.417 GB, free: 9.371 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.132e-05/0.9664, allocations: 34.75 kB / 1.417 GB, free: 9.328 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002169/0.9666, allocations: 25.39 kB / 1.417 GB, free: 9.316 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001341/0.9668, allocations: 165.3 kB / 1.417 GB, free: 9.117 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.147e-05/0.9668, allocations: 31.27 kB / 1.417 GB, free: 9.082 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.9668, allocations: 1.406 kB / 1.417 GB, free: 9.082 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001339/0.967, allocations: 56 kB / 1.417 GB, free: 9.031 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.967, allocations: 0 / 1.417 GB, free: 9.031 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.967, allocations: 0 / 1.417 GB, free: 9.031 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.531e-05/0.967, allocations: 2.531 kB / 1.417 GB, free: 9.031 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.613e-05/0.9671, allocations: 26.17 kB / 1.417 GB, free: 9.016 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.9675, allocations: 264.8 kB / 1.418 GB, free: 8.723 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 4.345e-05/0.9675, allocations: 19.7 kB / 1.418 GB, free: 8.695 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.706e-05/0.9675, allocations: 6.328 kB / 1.418 GB, free: 8.688 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 9.167e-06/0.9675, allocations: 1.312 kB / 1.418 GB, free: 8.688 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.9676, allocations: 34.56 kB / 1.418 GB, free: 8.645 MB / 1.107 GB Notification: Performance of pre-optimization done (n=1): time 9.72e-07/0.9676, allocations: 1.344 kB / 1.418 GB, free: 8.645 MB / 1.107 GB Notification: Performance of matching and sorting (n=1): time 0.0001283/0.9677, allocations: 34.48 kB / 1.418 GB, free: 8.609 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/0.9677, allocations: 56.56 kB / 1.418 GB, free: 8.543 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.597e-05/0.9678, allocations: 109.3 kB / 1.418 GB, free: 8.434 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.9678, allocations: 25.7 kB / 1.418 GB, free: 8.402 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.293e-05/0.9679, allocations: 90.12 kB / 1.418 GB, free: 8.312 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 5.44e-06/0.9679, allocations: 1.125 kB / 1.418 GB, free: 8.312 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.689e-05/0.9679, allocations: 24.69 kB / 1.418 GB, free: 8.285 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001447/0.9681, allocations: 316.6 kB / 1.418 GB, free: 7.969 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.9681, allocations: 7.344 kB / 1.418 GB, free: 7.965 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.186e-05/0.9681, allocations: 23.34 kB / 1.418 GB, free: 7.938 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.358e-05/0.9682, allocations: 30.83 kB / 1.418 GB, free: 7.906 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9682, allocations: 0 / 1.418 GB, free: 7.906 MB / 1.107 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.816e-05/0.9683, allocations: 57.69 kB / 1.418 GB, free: 7.859 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.9683, allocations: 10.72 kB / 1.418 GB, free: 7.855 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.9683, allocations: 1.25 kB / 1.418 GB, free: 7.855 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.9683, allocations: 1.094 kB / 1.418 GB, free: 7.855 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.917e-05/0.9684, allocations: 10.03 kB / 1.418 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.9684, allocations: 1.312 kB / 1.418 GB, free: 7.852 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.228e-05/0.9684, allocations: 5.375 kB / 1.418 GB, free: 7.848 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.9684, allocations: 1.312 kB / 1.418 GB, free: 7.848 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.96e-05/0.9685, allocations: 117 kB / 1.418 GB, free: 7.727 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.544e-05/0.9685, allocations: 2.469 kB / 1.418 GB, free: 7.727 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.706e-05/0.9685, allocations: 3.125 kB / 1.418 GB, free: 7.723 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.9685, allocations: 5.219 kB / 1.418 GB, free: 7.719 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.9685, allocations: 0 / 1.418 GB, free: 7.719 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.9686, allocations: 0 / 1.418 GB, free: 7.719 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002802/0.9688, allocations: 356.1 kB / 1.419 GB, free: 7.32 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.9688, allocations: 4.188 kB / 1.419 GB, free: 7.316 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.038e-05/0.9689, allocations: 13.14 kB / 1.419 GB, free: 7.305 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.9689, allocations: 4.031 kB / 1.419 GB, free: 7.301 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.9689, allocations: 1.281 kB / 1.419 GB, free: 7.301 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.9689, allocations: 0 / 1.419 GB, free: 7.301 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.9689, allocations: 0 / 1.419 GB, free: 7.301 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.782e-05/0.9689, allocations: 52.83 kB / 1.419 GB, free: 7.238 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.493e-05/0.969, allocations: 81.05 kB / 1.419 GB, free: 7.141 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.969, allocations: 13.08 kB / 1.419 GB, free: 7.129 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.257e-05/0.9691, allocations: 6.406 kB / 1.419 GB, free: 7.125 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.577e-05/0.9691, allocations: 5.094 kB / 1.419 GB, free: 7.121 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-06/0.9691, allocations: 0 / 1.419 GB, free: 7.121 MB / 1.107 GB Notification: Performance of sorting global known variables: time 5.829e-05/0.9692, allocations: 83.89 kB / 1.419 GB, free: 7.043 MB / 1.107 GB Notification: Performance of sort global known variables: time 7e-08/0.9692, allocations: 1.156 kB / 1.419 GB, free: 7.043 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0001813/0.9693, allocations: 6.375 kB / 1.419 GB, free: 7.043 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.0003775/0.9697, allocations: 0.5933 MB / 1.42 GB, free: 6.445 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 7.491e-05/0.9698, allocations: 20.92 kB / 1.42 GB, free: 6.434 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.9698, allocations: 0 / 1.42 GB, free: 6.434 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 5.04e-06/0.9698, allocations: 1.656 kB / 1.42 GB, free: 6.434 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002204/0.97, allocations: 4.094 kB / 1.42 GB, free: 6.434 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.9704, allocations: 139.5 kB / 1.42 GB, free: 6.281 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/0.9706, allocations: 0.6768 MB / 1.42 GB, free: 5.582 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 4.695e-05/0.9707, allocations: 12.19 kB / 1.421 GB, free: 5.574 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.9707, allocations: 8.719 kB / 1.421 GB, free: 5.566 MB / 1.107 GB Notification: Performance of SimCode: time 6.62e-07/0.9707, allocations: 0 / 1.421 GB, free: 5.566 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.9953, allocations: 1.347 MB / 1.422 GB, free: 4.805 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7.972, allocations: 11.25 kB / 1.422 GB, free: 4.801 MB / 1.107 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/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: 13.434725187995355]