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.001368/0.001368, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.001515/0.001515, allocations: 218.8 kB / 22.25 MB, free: 5.254 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.379/1.379, allocations: 230.6 MB / 256 MB, free: 7.785 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.013/3.013, allocations: 0.49 GB / 0.7951 GB, free: 35.46 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.001955/0.001955, allocations: 71.62 kB / 1.154 GB, free: 25.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3302, allocations: 176.1 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1553/0.4856, allocations: 130.3 MB / 1.453 GB, free: 14.63 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.000133/0.4857, allocations: 55.67 kB / 1.453 GB, free: 14.58 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.108e-05/0.4857, allocations: 4 kB / 1.453 GB, free: 14.58 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.000107/0.4858, allocations: 3.938 kB / 1.453 GB, free: 14.57 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 7.316e-05/0.4859, allocations: 15.91 kB / 1.453 GB, free: 14.56 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007065/0.4866, allocations: 204.4 kB / 1.453 GB, free: 14.36 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 7.999e-05/0.4867, allocations: 43.83 kB / 1.453 GB, free: 14.32 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 3.827e-05/0.4867, allocations: 4 kB / 1.453 GB, free: 14.31 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 3.017e-05/0.4868, allocations: 8 kB / 1.453 GB, free: 14.3 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 6.457e-05/0.4868, allocations: 19.91 kB / 1.453 GB, free: 14.29 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.093e-05/0.4869, allocations: 0 / 1.453 GB, free: 14.29 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.4872, allocations: 167.4 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.737e-05/0.4872, allocations: 4 kB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.4872, allocations: 11.97 kB / 1.454 GB, free: 14.11 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002154/0.4875, allocations: 104 kB / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.4875, allocations: 0 / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.192e-06/0.4875, allocations: 0 / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.4875, allocations: 7.938 kB / 1.454 GB, free: 14 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.0003515/0.4878, allocations: 270.2 kB / 1.454 GB, free: 13.7 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.4879, allocations: 11.97 kB / 1.454 GB, free: 13.69 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.649e-05/0.4879, allocations: 38.73 kB / 1.454 GB, free: 13.64 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.4882, allocations: 20.91 kB / 1.454 GB, free: 13.62 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001111/0.4883, allocations: 114.3 kB / 1.454 GB, free: 13.49 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.4883, allocations: 51.41 kB / 1.454 GB, free: 13.43 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.4884, allocations: 0 / 1.454 GB, free: 13.43 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.4885, allocations: 75.39 kB / 1.454 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.4885, allocations: 4 kB / 1.454 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.4885, allocations: 0 / 1.454 GB, free: 13.34 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.4885, allocations: 7.922 kB / 1.454 GB, free: 13.33 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.442e-05/0.4886, allocations: 27.92 kB / 1.454 GB, free: 13.3 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003519/0.4889, allocations: 235.9 kB / 1.455 GB, free: 13.03 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 5.797e-05/0.489, allocations: 18.58 kB / 1.455 GB, free: 13 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.126e-05/0.489, allocations: 8.859 kB / 1.455 GB, free: 12.99 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000127/0.4891, allocations: 24.05 kB / 1.455 GB, free: 12.96 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.4892, allocations: 38.56 kB / 1.455 GB, free: 12.92 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.4892, allocations: 0 / 1.455 GB, free: 12.92 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0002237/0.4894, allocations: 49.62 kB / 1.455 GB, free: 12.86 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.4894, allocations: 55.34 kB / 1.455 GB, free: 12.8 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.65e-05/0.4895, allocations: 105.8 kB / 1.455 GB, free: 12.68 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.4896, allocations: 25.7 kB / 1.455 GB, free: 12.65 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.4896, allocations: 84.09 kB / 1.455 GB, free: 12.57 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 8.766e-06/0.4896, allocations: 11.89 kB / 1.455 GB, free: 12.55 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.336e-05/0.4897, allocations: 21.84 kB / 1.455 GB, free: 12.53 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.4898, allocations: 314.8 kB / 1.455 GB, free: 12.21 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/0.4898, allocations: 4 kB / 1.455 GB, free: 12.21 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.057e-05/0.4898, allocations: 22.58 kB / 1.455 GB, free: 12.18 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.729e-05/0.4899, allocations: 34.5 kB / 1.455 GB, free: 12.13 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4899, allocations: 4 kB / 1.455 GB, free: 12.13 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.388e-05/0.49, allocations: 53.62 kB / 1.455 GB, free: 12.07 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.49, allocations: 8.094 kB / 1.455 GB, free: 12.06 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.49, allocations: 0 / 1.455 GB, free: 12.06 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.057e-05/0.49, allocations: 0 / 1.455 GB, free: 12.06 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.307e-05/0.49, allocations: 8 kB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.4901, allocations: 3.938 kB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.787e-05/0.4901, allocations: 4 kB / 1.455 GB, free: 12.05 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.208e-06/0.4901, allocations: 0 / 1.455 GB, free: 12.05 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 8.25e-05/0.4902, allocations: 121.2 kB / 1.456 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.4902, allocations: 3.953 kB / 1.456 GB, free: 11.92 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.162e-05/0.4902, allocations: 7.297 kB / 1.456 GB, free: 11.91 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.4902, allocations: 7.938 kB / 1.456 GB, free: 11.9 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4902, allocations: 7.938 kB / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.4902, allocations: 0 / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002887/0.4905, allocations: 326.7 kB / 1.456 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4905, allocations: 3.938 kB / 1.456 GB, free: 11.52 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.433e-05/0.4905, allocations: 7.938 kB / 1.456 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4905, allocations: 0 / 1.456 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.4905, allocations: 4 kB / 1.456 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4905, allocations: 3.984 kB / 1.456 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.4906, allocations: 288 / 1.456 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.085e-05/0.4906, allocations: 70.06 kB / 1.456 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 1.629e-05/0.4906, allocations: 15.88 kB / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.4907, allocations: 4 kB / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.681e-05/0.4907, allocations: 3.984 kB / 1.456 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.188e-05/0.4908, allocations: 7.938 kB / 1.456 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.4908, allocations: 0 / 1.456 GB, free: 11.38 MB / 1.154 GB Notification: Performance of sorting global known variables: time 4.482e-05/0.4908, allocations: 83.27 kB / 1.456 GB, free: 11.3 MB / 1.154 GB Notification: Performance of sort global known variables: time 7e-08/0.4908, allocations: 0 / 1.456 GB, free: 11.3 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001896/0.491, allocations: 8 kB / 1.456 GB, free: 11.29 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.0004017/0.4914, allocations: 0.6094 MB / 1.457 GB, free: 10.65 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 9.049e-05/0.4915, allocations: 19.94 kB / 1.457 GB, free: 10.63 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.4915, allocations: 0 / 1.457 GB, free: 10.63 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 8.276e-06/0.4915, allocations: 4 kB / 1.457 GB, free: 10.62 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002399/0.4917, allocations: 8 kB / 1.457 GB, free: 10.62 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000383/0.4921, allocations: 161.5 kB / 1.457 GB, free: 10.41 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.69e-05/0.4922, allocations: 63.28 kB / 1.457 GB, free: 10.33 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 4.555e-05/0.4922, allocations: 4 kB / 1.457 GB, free: 10.33 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.101e-05/0.4923, allocations: 11.44 kB / 1.457 GB, free: 10.32 MB / 1.154 GB Notification: Performance of SimCode: time 2.71e-07/0.4923, allocations: 0 / 1.457 GB, free: 10.32 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0287/0.521, allocations: 2.025 MB / 1.459 GB, free: 8.426 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.02, allocations: 10.42 kB / 1.459 GB, free: 8.418 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.30990116597968]