Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001493/0.001493, 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.0017/0.0017, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 7.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.012/3.012, allocations: 0.505 GB / 0.8101 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_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.001911/0.001911, allocations: 71.25 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3188, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1705/0.4893, allocations: 151.6 MB / 1.501 GB, free: 248 kB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/0.4894, allocations: 55.84 kB / 1.501 GB, free: 192 kB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.4894, allocations: 0 / 1.501 GB, free: 192 kB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 9.573e-05/0.4895, allocations: 7.938 kB / 1.501 GB, free: 184 kB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 6.722e-05/0.4896, allocations: 11.97 kB / 1.501 GB, free: 172 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.4903, allocations: 225.7 kB / 1.501 GB, free: 15.95 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.4904, allocations: 35.86 kB / 1.501 GB, free: 15.91 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.4904, allocations: 3.984 kB / 1.501 GB, free: 15.91 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 3.311e-05/0.4904, allocations: 19.92 kB / 1.501 GB, free: 15.89 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 6.013e-05/0.4905, allocations: 11.98 kB / 1.501 GB, free: 15.88 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 1.424e-05/0.4905, allocations: 7.984 kB / 1.501 GB, free: 15.87 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003924/0.4909, allocations: 207.4 kB / 1.501 GB, free: 15.67 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.4909, allocations: 11.92 kB / 1.501 GB, free: 15.66 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 2.314e-05/0.491, allocations: 8 kB / 1.501 GB, free: 15.65 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0002171/0.4912, allocations: 119.9 kB / 1.502 GB, free: 15.53 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.4912, allocations: 0 / 1.502 GB, free: 15.53 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.102e-06/0.4912, allocations: 4 kB / 1.502 GB, free: 15.53 MB / 1.201 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.4912, allocations: 0 / 1.502 GB, free: 15.53 MB / 1.201 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.0003539/0.4915, allocations: 274.2 kB / 1.502 GB, free: 15.23 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.211e-05/0.4916, allocations: 8.031 kB / 1.502 GB, free: 15.22 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.4916, allocations: 30.75 kB / 1.502 GB, free: 15.18 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.4919, allocations: 24.91 kB / 1.502 GB, free: 15.16 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.506e-05/0.492, allocations: 114.2 kB / 1.502 GB, free: 15.02 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.157e-05/0.492, allocations: 51.41 kB / 1.502 GB, free: 14.96 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.642e-06/0.492, allocations: 4 kB / 1.502 GB, free: 14.96 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001201/0.4922, allocations: 49.67 kB / 1.502 GB, free: 14.9 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.4922, allocations: 3.938 kB / 1.502 GB, free: 14.9 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.4922, allocations: 0 / 1.502 GB, free: 14.9 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.371e-05/0.4922, allocations: 8 kB / 1.502 GB, free: 14.89 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.4922, allocations: 19.92 kB / 1.502 GB, free: 14.87 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.4926, allocations: 235.9 kB / 1.502 GB, free: 14.6 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 4.824e-05/0.4926, allocations: 30.55 kB / 1.502 GB, free: 14.56 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.448e-05/0.4926, allocations: 12.92 kB / 1.502 GB, free: 14.54 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.4928, allocations: 19.98 kB / 1.502 GB, free: 14.52 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.4928, allocations: 30.56 kB / 1.502 GB, free: 14.48 MB / 1.201 GB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.4928, allocations: 0 / 1.502 GB, free: 14.48 MB / 1.201 GB Notification: Performance of matching and sorting (n=2): time 0.0002157/0.493, allocations: 57.61 kB / 1.503 GB, free: 14.42 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.493, allocations: 59.34 kB / 1.503 GB, free: 14.35 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.046e-05/0.4931, allocations: 101.8 kB / 1.503 GB, free: 14.24 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.4931, allocations: 25.7 kB / 1.503 GB, free: 14.21 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 5.045e-05/0.4932, allocations: 88.09 kB / 1.503 GB, free: 14.12 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.4932, allocations: 7.891 kB / 1.503 GB, free: 14.11 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.4932, allocations: 17.72 kB / 1.503 GB, free: 14.09 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001146/0.4933, allocations: 315 kB / 1.503 GB, free: 13.77 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.577e-05/0.4934, allocations: 7.984 kB / 1.503 GB, free: 13.77 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.001e-05/0.4934, allocations: 26.58 kB / 1.503 GB, free: 13.73 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.359e-05/0.4934, allocations: 30.52 kB / 1.503 GB, free: 13.69 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4934, allocations: 4 kB / 1.503 GB, free: 13.69 MB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.226e-05/0.4935, allocations: 53.62 kB / 1.503 GB, free: 13.63 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.276e-05/0.4935, allocations: 9.406 kB / 1.503 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.798e-06/0.4935, allocations: 0 / 1.503 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.648e-06/0.4935, allocations: 0 / 1.503 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.169e-05/0.4936, allocations: 11.98 kB / 1.503 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.473e-06/0.4936, allocations: 3.938 kB / 1.503 GB, free: 13.61 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.64e-05/0.4936, allocations: 3.953 kB / 1.503 GB, free: 13.6 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.4936, allocations: 4 kB / 1.503 GB, free: 13.6 MB / 1.201 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.292e-05/0.4937, allocations: 117.9 kB / 1.503 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.4937, allocations: 4 kB / 1.503 GB, free: 13.47 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.4937, allocations: 3.312 kB / 1.503 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.4937, allocations: 0 / 1.503 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4938, allocations: 3.938 kB / 1.503 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.824e-06/0.4938, allocations: 0 / 1.503 GB, free: 13.46 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002852/0.494, allocations: 338.7 kB / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.494, allocations: 0 / 1.504 GB, free: 13.07 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.677e-05/0.4941, allocations: 11.88 kB / 1.504 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4941, allocations: 0 / 1.504 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.28e-06/0.4941, allocations: 3.938 kB / 1.504 GB, free: 13.06 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.4941, allocations: 3.984 kB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/0.4941, allocations: 7.938 kB / 1.504 GB, free: 13.05 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.026e-05/0.4942, allocations: 69.98 kB / 1.504 GB, free: 12.96 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 9.178e-06/0.4942, allocations: 7.938 kB / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.433e-05/0.4942, allocations: 4 kB / 1.504 GB, free: 12.95 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.446e-05/0.4943, allocations: 3.984 kB / 1.504 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.122e-05/0.4943, allocations: 4 kB / 1.504 GB, free: 12.94 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.4943, allocations: 0 / 1.504 GB, free: 12.94 MB / 1.201 GB Notification: Performance of sorting global known variables: time 3.881e-05/0.4943, allocations: 79.28 kB / 1.504 GB, free: 12.86 MB / 1.201 GB Notification: Performance of sort global known variables: time 9e-08/0.4943, allocations: 0 / 1.504 GB, free: 12.86 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0001885/0.4945, allocations: 11.98 kB / 1.504 GB, free: 12.85 MB / 1.201 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.0003663/0.4949, allocations: 0.6093 MB / 1.504 GB, free: 12.21 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 7.529e-05/0.4949, allocations: 20.09 kB / 1.505 GB, free: 12.19 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4949, allocations: 4.062 kB / 1.505 GB, free: 12.18 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 9.768e-06/0.495, allocations: 4 kB / 1.505 GB, free: 12.18 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.4952, allocations: 7.938 kB / 1.505 GB, free: 12.17 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003463/0.4955, allocations: 153.2 kB / 1.505 GB, free: 11.98 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002707/0.4958, allocations: 0.6806 MB / 1.505 GB, free: 11.27 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 4.44e-05/0.4958, allocations: 12.53 kB / 1.505 GB, free: 11.26 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/0.4959, allocations: 11.44 kB / 1.505 GB, free: 11.25 MB / 1.201 GB Notification: Performance of SimCode: time 2.81e-07/0.4959, allocations: 0 / 1.505 GB, free: 11.25 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02459/0.5204, allocations: 1.564 MB / 1.507 GB, free: 9.816 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.692/10.21, allocations: 8.219 kB / 1.507 GB, free: 9.812 MB / 1.201 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 16.50453340599961]