Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001778/0.001778, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002283/0.002283, allocations: 220.5 kB / 22.26 MB, free: 5.121 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.515/1.515, allocations: 230.6 MB / 256 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.254/3.254, allocations: 0.49 GB / 0.7951 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_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.64 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3478/0.3499, allocations: 176.1 MB / 1.326 GB, free: 1.965 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1857/0.5357, allocations: 151.2 MB / 1.474 GB, free: 10.22 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.5358, allocations: 55.88 kB / 1.474 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.5358, allocations: 0 / 1.474 GB, free: 10.17 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.5359, allocations: 3.984 kB / 1.474 GB, free: 10.16 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 7.253e-05/0.536, allocations: 11.92 kB / 1.474 GB, free: 10.15 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004913/0.5365, allocations: 126.9 kB / 1.474 GB, free: 10.03 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 8.317e-05/0.5366, allocations: 27.92 kB / 1.474 GB, free: 10 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.21e-05/0.5366, allocations: 4 kB / 1.474 GB, free: 10 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 4.216e-05/0.5367, allocations: 19.86 kB / 1.474 GB, free: 9.98 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 6.953e-05/0.5367, allocations: 11.98 kB / 1.474 GB, free: 9.969 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.11e-05/0.5367, allocations: 0 / 1.474 GB, free: 9.969 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002628/0.537, allocations: 95.7 kB / 1.474 GB, free: 9.875 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.381e-05/0.537, allocations: 19.97 kB / 1.474 GB, free: 9.855 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.921e-05/0.5371, allocations: 7.938 kB / 1.474 GB, free: 9.848 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.5372, allocations: 76.06 kB / 1.474 GB, free: 9.773 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.5372, allocations: 0 / 1.474 GB, free: 9.773 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5372, allocations: 0 / 1.474 GB, free: 9.773 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.5373, allocations: 0 / 1.474 GB, free: 9.773 MB / 1.17 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.0003773/0.5376, allocations: 262.2 kB / 1.474 GB, free: 9.488 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.5377, allocations: 12.03 kB / 1.474 GB, free: 9.477 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.729e-05/0.5377, allocations: 30.75 kB / 1.474 GB, free: 9.438 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00022/0.5379, allocations: 24.91 kB / 1.474 GB, free: 9.414 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001023/0.538, allocations: 110.3 kB / 1.474 GB, free: 9.281 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.5381, allocations: 63.33 kB / 1.474 GB, free: 9.207 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.5381, allocations: 0 / 1.474 GB, free: 9.207 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.5382, allocations: 49.67 kB / 1.474 GB, free: 9.152 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.5383, allocations: 0 / 1.474 GB, free: 9.152 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.5383, allocations: 4 kB / 1.474 GB, free: 9.148 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.803e-05/0.5383, allocations: 0 / 1.474 GB, free: 9.148 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.759e-05/0.5383, allocations: 23.98 kB / 1.475 GB, free: 9.125 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003972/0.5387, allocations: 227.9 kB / 1.475 GB, free: 8.859 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 4.888e-05/0.5388, allocations: 26.55 kB / 1.475 GB, free: 8.824 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.699e-05/0.5388, allocations: 4.859 kB / 1.475 GB, free: 8.816 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.5388, allocations: 0 / 1.475 GB, free: 8.816 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.545e-05/0.5388, allocations: 34.56 kB / 1.475 GB, free: 8.773 MB / 1.17 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.5388, allocations: 0 / 1.475 GB, free: 8.773 MB / 1.17 GB Notification: Performance of matching and sorting (n=1): time 0.0001332/0.539, allocations: 37.77 kB / 1.475 GB, free: 8.73 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.269e-05/0.539, allocations: 59.28 kB / 1.475 GB, free: 8.66 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.67e-05/0.5391, allocations: 105.8 kB / 1.475 GB, free: 8.547 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.688e-05/0.5391, allocations: 29.64 kB / 1.475 GB, free: 8.512 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.205e-05/0.5392, allocations: 84.09 kB / 1.475 GB, free: 8.426 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.115e-05/0.5392, allocations: 16.02 kB / 1.475 GB, free: 8.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.5392, allocations: 17.7 kB / 1.475 GB, free: 8.387 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.5394, allocations: 314.8 kB / 1.475 GB, free: 8.07 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.5394, allocations: 0 / 1.475 GB, free: 8.07 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.207e-05/0.5394, allocations: 30.56 kB / 1.475 GB, free: 8.031 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.644e-05/0.5394, allocations: 38.45 kB / 1.475 GB, free: 7.984 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.5395, allocations: 0 / 1.475 GB, free: 7.984 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.944e-05/0.5395, allocations: 53.62 kB / 1.476 GB, free: 7.926 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.5396, allocations: 4 kB / 1.476 GB, free: 7.922 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5396, allocations: 0 / 1.476 GB, free: 7.922 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.5396, allocations: 4.094 kB / 1.476 GB, free: 7.918 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.189e-05/0.5396, allocations: 11.92 kB / 1.476 GB, free: 7.906 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.5396, allocations: 0 / 1.476 GB, free: 7.906 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.5397, allocations: 12.05 kB / 1.476 GB, free: 7.895 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-06/0.5397, allocations: 0 / 1.476 GB, free: 7.895 MB / 1.17 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 7.96e-05/0.5398, allocations: 117.8 kB / 1.476 GB, free: 7.77 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.5398, allocations: 0 / 1.476 GB, free: 7.77 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.5398, allocations: 7.156 kB / 1.476 GB, free: 7.758 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.5398, allocations: 3.938 kB / 1.476 GB, free: 7.754 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.5398, allocations: 0 / 1.476 GB, free: 7.754 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.5398, allocations: 0 / 1.476 GB, free: 7.754 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002792/0.5401, allocations: 317.8 kB / 1.476 GB, free: 7.391 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5401, allocations: 0 / 1.476 GB, free: 7.391 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.622e-05/0.5401, allocations: 3.938 kB / 1.476 GB, free: 7.387 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.5401, allocations: 7.984 kB / 1.476 GB, free: 7.379 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-06/0.5401, allocations: 0 / 1.476 GB, free: 7.379 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5401, allocations: 256 / 1.476 GB, free: 7.379 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.5401, allocations: 0 / 1.476 GB, free: 7.379 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.386e-05/0.5402, allocations: 65.11 kB / 1.476 GB, free: 7.297 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.5402, allocations: 11.89 kB / 1.476 GB, free: 7.285 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.495e-05/0.5402, allocations: 0 / 1.476 GB, free: 7.285 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.5403, allocations: 7.984 kB / 1.476 GB, free: 7.277 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.196e-06/0.5403, allocations: 0 / 1.476 GB, free: 7.277 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-06/0.5403, allocations: 0 / 1.476 GB, free: 7.277 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.389e-05/0.5404, allocations: 87.22 kB / 1.476 GB, free: 7.191 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/0.5404, allocations: 0 / 1.476 GB, free: 7.191 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001964/0.5406, allocations: 8 kB / 1.476 GB, free: 7.184 MB / 1.17 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.0003514/0.5409, allocations: 0.6007 MB / 1.477 GB, free: 6.555 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.417e-05/0.541, allocations: 19.92 kB / 1.477 GB, free: 6.535 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.541, allocations: 0 / 1.477 GB, free: 6.535 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 6.923e-06/0.541, allocations: 4 kB / 1.477 GB, free: 6.531 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.5413, allocations: 4.281 kB / 1.477 GB, free: 6.527 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003526/0.5416, allocations: 140.5 kB / 1.477 GB, free: 6.352 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.5419, allocations: 0.6768 MB / 1.478 GB, free: 5.648 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.321e-05/0.5419, allocations: 7.938 kB / 1.478 GB, free: 5.641 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.542, allocations: 11.42 kB / 1.478 GB, free: 5.629 MB / 1.17 GB Notification: Performance of SimCode: time 4.01e-07/0.542, allocations: 4 kB / 1.478 GB, free: 5.625 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02822/0.5702, allocations: 1.462 MB / 1.479 GB, free: 4.301 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.4, allocations: 4 kB / 1.479 GB, free: 4.297 MB / 1.17 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.44994423299977]