Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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.001313/0.001313, allocations: 103.6 kB / 18.95 MB, free: 2.691 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.001577/0.001577, allocations: 216.9 kB / 22.24 MB, free: 5.242 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.413/1.413, allocations: 230.6 MB / 256 MB, free: 7.809 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.033/3.033, allocations: 0.4892 GB / 0.7943 GB, free: 35.71 MB / 0.6231 GB " [Timeout remaining time 177] 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_12_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",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.002003/0.002003, allocations: 67.72 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3317, allocations: 176.1 MB / 1.325 GB, free: 2.414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.168/0.4997, allocations: 130.4 MB / 1.452 GB, free: 15.56 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001449/0.4998, allocations: 47.86 kB / 1.452 GB, free: 15.51 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.066e-05/0.4999, allocations: 0 / 1.452 GB, free: 15.51 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.5, allocations: 7.938 kB / 1.452 GB, free: 15.5 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.649e-05/0.5001, allocations: 15.91 kB / 1.452 GB, free: 15.49 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008749/0.5009, allocations: 216.5 kB / 1.453 GB, free: 15.28 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 8.767e-05/0.501, allocations: 31.84 kB / 1.453 GB, free: 15.25 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.5011, allocations: 4 kB / 1.453 GB, free: 15.24 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.954e-05/0.5011, allocations: 19.92 kB / 1.453 GB, free: 15.22 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 7.602e-05/0.5012, allocations: 11.98 kB / 1.453 GB, free: 15.21 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.5012, allocations: 0 / 1.453 GB, free: 15.21 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003965/0.5016, allocations: 159.4 kB / 1.453 GB, free: 15.05 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 4.634e-05/0.5016, allocations: 11.92 kB / 1.453 GB, free: 15.04 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.573e-05/0.5017, allocations: 15.98 kB / 1.453 GB, free: 15.03 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.5019, allocations: 104 kB / 1.453 GB, free: 14.93 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.502, allocations: 4 kB / 1.453 GB, free: 14.92 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.753e-06/0.502, allocations: 0 / 1.453 GB, free: 14.92 MB / 1.154 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.502, allocations: 3.938 kB / 1.453 GB, free: 14.92 MB / 1.154 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.0004318/0.5024, allocations: 270.2 kB / 1.453 GB, free: 14.62 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.5024, allocations: 8.031 kB / 1.453 GB, free: 14.62 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.925e-05/0.5025, allocations: 30.75 kB / 1.453 GB, free: 14.58 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/0.5028, allocations: 24.91 kB / 1.453 GB, free: 14.55 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.5029, allocations: 110.3 kB / 1.453 GB, free: 14.42 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.939e-05/0.503, allocations: 59.41 kB / 1.453 GB, free: 14.35 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.466e-06/0.503, allocations: 0 / 1.453 GB, free: 14.35 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.5032, allocations: 75.38 kB / 1.454 GB, free: 14.27 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.5032, allocations: 3.984 kB / 1.454 GB, free: 14.26 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5032, allocations: 0 / 1.454 GB, free: 14.26 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.5032, allocations: 4 kB / 1.454 GB, free: 14.26 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.9e-05/0.5033, allocations: 27.92 kB / 1.454 GB, free: 14.23 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.5037, allocations: 231.9 kB / 1.454 GB, free: 13.96 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 5.709e-05/0.5037, allocations: 22.58 kB / 1.454 GB, free: 13.93 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.25e-05/0.5038, allocations: 12.92 kB / 1.454 GB, free: 13.91 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001242/0.5039, allocations: 19.98 kB / 1.454 GB, free: 13.89 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.5039, allocations: 30.56 kB / 1.454 GB, free: 13.86 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.5039, allocations: 0 / 1.454 GB, free: 13.86 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0002494/0.5042, allocations: 53.62 kB / 1.454 GB, free: 13.8 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.5042, allocations: 55.34 kB / 1.454 GB, free: 13.73 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.573e-05/0.5043, allocations: 110 kB / 1.454 GB, free: 13.61 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/0.5043, allocations: 29.64 kB / 1.454 GB, free: 13.58 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.85e-05/0.5044, allocations: 84.09 kB / 1.454 GB, free: 13.49 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 9.739e-06/0.5044, allocations: 7.891 kB / 1.454 GB, free: 13.48 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.619e-05/0.5044, allocations: 21.7 kB / 1.454 GB, free: 13.46 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.5046, allocations: 314.8 kB / 1.454 GB, free: 13.14 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.64e-05/0.5046, allocations: 4 kB / 1.455 GB, free: 13.14 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.5046, allocations: 26.56 kB / 1.455 GB, free: 13.1 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.556e-05/0.5047, allocations: 34.52 kB / 1.455 GB, free: 13.06 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5047, allocations: 0 / 1.455 GB, free: 13.06 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.464e-05/0.5048, allocations: 53.62 kB / 1.455 GB, free: 13 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.5048, allocations: 8 kB / 1.455 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.5048, allocations: 0 / 1.455 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.5048, allocations: 0 / 1.455 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.5048, allocations: 4 kB / 1.455 GB, free: 12.99 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.5049, allocations: 7.938 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.939e-05/0.5049, allocations: 3.953 kB / 1.455 GB, free: 12.98 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.441e-06/0.5049, allocations: 4 kB / 1.455 GB, free: 12.97 MB / 1.154 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 9.196e-05/0.505, allocations: 122.4 kB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.537e-05/0.505, allocations: 4.281 kB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.808e-05/0.505, allocations: 3.312 kB / 1.455 GB, free: 12.84 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.706e-06/0.505, allocations: 3.984 kB / 1.455 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.505, allocations: 3.938 kB / 1.455 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-06/0.505, allocations: 0 / 1.455 GB, free: 12.83 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003102/0.5053, allocations: 330.7 kB / 1.455 GB, free: 12.45 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.5053, allocations: 0 / 1.455 GB, free: 12.45 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.908e-05/0.5054, allocations: 11.92 kB / 1.455 GB, free: 12.44 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.5054, allocations: 4.062 kB / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.68e-06/0.5054, allocations: 0 / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.5054, allocations: 0 / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.5054, allocations: 4 kB / 1.455 GB, free: 12.43 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.241e-05/0.5055, allocations: 66 kB / 1.455 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.5055, allocations: 11.89 kB / 1.455 GB, free: 12.33 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.5055, allocations: 7.922 kB / 1.455 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.5056, allocations: 7.938 kB / 1.455 GB, free: 12.32 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.295e-05/0.5056, allocations: 4 kB / 1.455 GB, free: 12.31 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.5056, allocations: 0 / 1.455 GB, free: 12.31 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.336e-05/0.5056, allocations: 91.23 kB / 1.455 GB, free: 12.22 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.5056, allocations: 4 kB / 1.455 GB, free: 12.22 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001888/0.5058, allocations: 8 kB / 1.455 GB, free: 12.21 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004294/0.5063, allocations: 0.6016 MB / 1.456 GB, free: 11.58 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 8.546e-05/0.5063, allocations: 19.94 kB / 1.456 GB, free: 11.56 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5063, allocations: 0 / 1.456 GB, free: 11.56 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-05/0.5064, allocations: 8.219 kB / 1.456 GB, free: 11.55 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.5065, allocations: 11.92 kB / 1.456 GB, free: 11.54 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004205/0.507, allocations: 153.2 kB / 1.456 GB, free: 11.34 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.934e-05/0.507, allocations: 67.28 kB / 1.456 GB, free: 11.26 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.208e-05/0.5071, allocations: 8.125 kB / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.216e-05/0.5071, allocations: 7.438 kB / 1.456 GB, free: 11.24 MB / 1.154 GB Notification: Performance of SimCode: time 7.02e-07/0.5071, allocations: 0 / 1.456 GB, free: 11.24 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.5366, allocations: 1.988 MB / 1.458 GB, free: 9.391 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.17, allocations: 15.56 kB / 1.458 GB, free: 9.379 MB / 1.154 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_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_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.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: 17.526882046833634]