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.001473/0.001473, allocations: 108 kB / 16.45 MB, free: 6.453 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.001601/0.001601, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.418/1.418, allocations: 230.6 MB / 252.8 MB, free: 8.941 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.069/3.069, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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.00203/0.00203, allocations: 63.28 kB / 1.172 GB, free: 17.43 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3315, allocations: 180.2 MB / 1.348 GB, free: 9.965 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1742/0.5057, allocations: 151.6 MB / 1.496 GB, free: 1.801 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.0001393/0.5059, allocations: 51.86 kB / 1.496 GB, free: 1.75 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.633e-05/0.5059, allocations: 0 / 1.496 GB, free: 1.75 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.506, allocations: 3.938 kB / 1.496 GB, free: 1.746 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.5061, allocations: 23.91 kB / 1.496 GB, free: 1.723 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007227/0.5068, allocations: 223.1 kB / 1.496 GB, free: 1.504 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 8.53e-05/0.5069, allocations: 35.84 kB / 1.496 GB, free: 1.469 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 3.32e-05/0.5069, allocations: 4 kB / 1.496 GB, free: 1.465 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 2.991e-05/0.507, allocations: 15.92 kB / 1.496 GB, free: 1.449 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 6.887e-05/0.507, allocations: 19.97 kB / 1.496 GB, free: 1.43 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 9.669e-06/0.507, allocations: 0 / 1.496 GB, free: 1.43 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004091/0.5074, allocations: 211.3 kB / 1.496 GB, free: 1.223 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.034e-05/0.5075, allocations: 8 kB / 1.496 GB, free: 1.215 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.5075, allocations: 7.984 kB / 1.496 GB, free: 1.207 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.5077, allocations: 127.9 kB / 1.496 GB, free: 1.082 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5078, allocations: 0 / 1.496 GB, free: 1.082 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5078, allocations: 0 / 1.496 GB, free: 1.082 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5078, allocations: 0 / 1.496 GB, free: 1.082 MB / 1.186 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.0004119/0.5082, allocations: 339.3 kB / 1.497 GB, free: 0.7031 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.5082, allocations: 19.98 kB / 1.497 GB, free: 0.6836 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.245e-05/0.5083, allocations: 30.75 kB / 1.497 GB, free: 0.6445 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003091/0.5086, allocations: 28.91 kB / 1.497 GB, free: 0.6172 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/0.5087, allocations: 168.1 kB / 1.497 GB, free: 424 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.5088, allocations: 25.7 kB / 1.497 GB, free: 392 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.517e-05/0.5088, allocations: 4 kB / 1.497 GB, free: 388 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.5089, allocations: 49.67 kB / 1.497 GB, free: 332 kB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.543e-06/0.5089, allocations: 7.938 kB / 1.497 GB, free: 324 kB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.5089, allocations: 0 / 1.497 GB, free: 324 kB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.828e-05/0.5089, allocations: 0 / 1.497 GB, free: 324 kB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.406e-05/0.509, allocations: 27.92 kB / 1.497 GB, free: 296 kB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.5094, allocations: 260.9 kB / 1.497 GB, free: 15.98 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 5.84e-05/0.5094, allocations: 18.58 kB / 1.497 GB, free: 15.96 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.266e-05/0.5095, allocations: 12.86 kB / 1.497 GB, free: 15.94 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001581/0.5096, allocations: 93.16 kB / 1.497 GB, free: 15.83 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.042e-05/0.5097, allocations: 34.55 kB / 1.498 GB, free: 15.79 MB / 1.201 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.5097, allocations: 0 / 1.498 GB, free: 15.79 MB / 1.201 GB Notification: Performance of matching and sorting (n=2): time 0.0002298/0.5099, allocations: 53.62 kB / 1.498 GB, free: 15.73 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.5099, allocations: 59.47 kB / 1.498 GB, free: 15.66 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.733e-05/0.51, allocations: 97.86 kB / 1.498 GB, free: 15.55 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.51, allocations: 29.7 kB / 1.498 GB, free: 15.52 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.5101, allocations: 88.08 kB / 1.498 GB, free: 15.43 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 1.339e-05/0.5101, allocations: 11.89 kB / 1.498 GB, free: 15.42 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3e-05/0.5101, allocations: 13.72 kB / 1.498 GB, free: 15.4 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5103, allocations: 310.8 kB / 1.498 GB, free: 15.09 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.882e-05/0.5103, allocations: 8 kB / 1.498 GB, free: 15.08 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.212e-05/0.5103, allocations: 26.56 kB / 1.498 GB, free: 15.04 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.536e-05/0.5104, allocations: 30.52 kB / 1.498 GB, free: 15 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.5104, allocations: 4 kB / 1.498 GB, free: 15 MB / 1.201 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.677e-05/0.5105, allocations: 53.62 kB / 1.498 GB, free: 14.94 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.204e-05/0.5105, allocations: 8.094 kB / 1.498 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.5105, allocations: 4.219 kB / 1.498 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.5105, allocations: 0 / 1.498 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.254e-05/0.5105, allocations: 8 kB / 1.498 GB, free: 14.92 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.5105, allocations: 7.875 kB / 1.498 GB, free: 14.91 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.483e-05/0.5106, allocations: 15.94 kB / 1.498 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.5106, allocations: 4 kB / 1.498 GB, free: 14.89 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.697e-05/0.5107, allocations: 109.8 kB / 1.498 GB, free: 14.78 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.731e-05/0.5107, allocations: 3.984 kB / 1.498 GB, free: 14.77 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.177e-05/0.5107, allocations: 11.12 kB / 1.498 GB, free: 14.76 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.5107, allocations: 0 / 1.498 GB, free: 14.76 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.5107, allocations: 3.938 kB / 1.498 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.5107, allocations: 7.938 kB / 1.498 GB, free: 14.75 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.511, allocations: 355.6 kB / 1.499 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.511, allocations: 0 / 1.499 GB, free: 14.34 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.5111, allocations: 7.938 kB / 1.499 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.5111, allocations: 0 / 1.499 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.5111, allocations: 4.062 kB / 1.499 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5111, allocations: 0 / 1.499 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5111, allocations: 4 kB / 1.499 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.675e-05/0.5112, allocations: 77.88 kB / 1.499 GB, free: 14.22 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 4.507e-05/0.5112, allocations: 81.05 kB / 1.499 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.5112, allocations: 4 kB / 1.499 GB, free: 14.12 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.231e-05/0.5113, allocations: 8.016 kB / 1.499 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.5113, allocations: 4 kB / 1.499 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.5113, allocations: 0 / 1.499 GB, free: 14.11 MB / 1.201 GB Notification: Performance of sorting global known variables: time 5.046e-05/0.5114, allocations: 79.28 kB / 1.499 GB, free: 14.03 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.5114, allocations: 0 / 1.499 GB, free: 14.03 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0001932/0.5116, allocations: 12 kB / 1.499 GB, free: 14.02 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.0004143/0.512, allocations: 0.6055 MB / 1.5 GB, free: 13.38 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 8.171e-05/0.5121, allocations: 19.92 kB / 1.5 GB, free: 13.36 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.5121, allocations: 0 / 1.5 GB, free: 13.36 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 2.121e-05/0.5121, allocations: 7.938 kB / 1.5 GB, free: 13.36 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/0.5123, allocations: 8.344 kB / 1.5 GB, free: 13.35 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003821/0.5127, allocations: 149 kB / 1.5 GB, free: 13.16 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.513, allocations: 0.6729 MB / 1.5 GB, free: 12.46 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 4.715e-05/0.513, allocations: 11.98 kB / 1.5 GB, free: 12.45 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.771e-05/0.5131, allocations: 11.44 kB / 1.501 GB, free: 12.44 MB / 1.201 GB Notification: Performance of SimCode: time 2.81e-07/0.5131, allocations: 0 / 1.501 GB, free: 12.44 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.5369, allocations: 1.458 MB / 1.502 GB, free: 11.09 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/8.238, allocations: 13.55 kB / 1.502 GB, free: 11.08 MB / 1.201 GB " [Timeout remaining time 292] (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: 14.653327085077763]