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.001504/0.001504, allocations: 107.7 kB / 16.45 MB, free: 6.5 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.001634/0.001634, allocations: 212.9 kB / 19.43 MB, free: 3.656 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.421/1.421, allocations: 230.6 MB / 252.8 MB, free: 8.992 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.062/3.062, allocations: 0.49 GB / 0.7916 GB, free: 33.17 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.001913/0.001913, allocations: 70.39 kB / 1.149 GB, free: 26.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3192, allocations: 176.1 MB / 1.321 GB, free: 3.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1805/0.4997, allocations: 151.6 MB / 1.469 GB, free: 11.21 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001856/0.4999, allocations: 51.81 kB / 1.469 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.21e-05/0.4999, allocations: 0 / 1.469 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001086/0.5, allocations: 3.984 kB / 1.469 GB, free: 11.16 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 8.621e-05/0.5001, allocations: 15.92 kB / 1.469 GB, free: 11.14 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008428/0.5009, allocations: 227.2 kB / 1.469 GB, free: 10.92 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 9.847e-05/0.501, allocations: 35.84 kB / 1.469 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 4.3e-05/0.5011, allocations: 4 kB / 1.469 GB, free: 10.88 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 3.423e-05/0.5011, allocations: 11.98 kB / 1.469 GB, free: 10.87 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 7.631e-05/0.5012, allocations: 19.92 kB / 1.469 GB, free: 10.85 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.5012, allocations: 0 / 1.469 GB, free: 10.85 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005321/0.5017, allocations: 207.4 kB / 1.469 GB, free: 10.64 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 5.167e-05/0.5018, allocations: 11.97 kB / 1.469 GB, free: 10.63 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.085e-05/0.5018, allocations: 15.94 kB / 1.469 GB, free: 10.62 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.5021, allocations: 112 kB / 1.469 GB, free: 10.51 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.5021, allocations: 0 / 1.469 GB, free: 10.51 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.973e-06/0.5021, allocations: 0 / 1.469 GB, free: 10.51 MB / 1.17 GB Notification: Performance of Transformations before backend: time 5.35e-06/0.5021, allocations: 0 / 1.469 GB, free: 10.51 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.0004934/0.5026, allocations: 355.2 kB / 1.47 GB, free: 10.11 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.5027, allocations: 11.98 kB / 1.47 GB, free: 10.1 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.326e-05/0.5027, allocations: 34.75 kB / 1.47 GB, free: 10.06 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/0.5031, allocations: 28.91 kB / 1.47 GB, free: 10.03 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.5032, allocations: 164.1 kB / 1.47 GB, free: 9.832 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.5033, allocations: 29.7 kB / 1.47 GB, free: 9.797 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-06/0.5033, allocations: 0 / 1.47 GB, free: 9.797 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001527/0.5034, allocations: 49.67 kB / 1.47 GB, free: 9.742 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.5034, allocations: 3.938 kB / 1.47 GB, free: 9.738 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.141e-05/0.5034, allocations: 0 / 1.47 GB, free: 9.738 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.923e-05/0.5035, allocations: 4 kB / 1.47 GB, free: 9.734 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.943e-05/0.5035, allocations: 23.97 kB / 1.47 GB, free: 9.711 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003996/0.5039, allocations: 264.9 kB / 1.47 GB, free: 9.402 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 5.792e-05/0.504, allocations: 26.52 kB / 1.47 GB, free: 9.367 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.178e-05/0.504, allocations: 4.859 kB / 1.47 GB, free: 9.359 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.5042, allocations: 93.16 kB / 1.471 GB, free: 9.25 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.417e-05/0.5042, allocations: 42.5 kB / 1.471 GB, free: 9.199 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.5042, allocations: 0 / 1.471 GB, free: 9.199 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.0002563/0.5045, allocations: 45.69 kB / 1.471 GB, free: 9.148 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.489e-05/0.5045, allocations: 59.34 kB / 1.471 GB, free: 9.078 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.398e-05/0.5046, allocations: 101.8 kB / 1.471 GB, free: 8.969 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/0.5046, allocations: 25.7 kB / 1.471 GB, free: 8.938 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/0.5047, allocations: 88.22 kB / 1.471 GB, free: 8.848 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.658e-06/0.5047, allocations: 11.89 kB / 1.471 GB, free: 8.836 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.75e-05/0.5047, allocations: 17.72 kB / 1.471 GB, free: 8.812 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.5049, allocations: 314.8 kB / 1.471 GB, free: 8.496 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.742e-05/0.5049, allocations: 4 kB / 1.471 GB, free: 8.492 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.52e-05/0.5049, allocations: 26.52 kB / 1.471 GB, free: 8.457 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.66e-05/0.505, allocations: 38.56 kB / 1.471 GB, free: 8.41 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.505, allocations: 0 / 1.471 GB, free: 8.41 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001031/0.5051, allocations: 53.62 kB / 1.471 GB, free: 8.352 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.5051, allocations: 4 kB / 1.471 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.5051, allocations: 0 / 1.471 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.5051, allocations: 7.938 kB / 1.471 GB, free: 8.34 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.145e-05/0.5052, allocations: 7.938 kB / 1.471 GB, free: 8.332 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.5052, allocations: 4.031 kB / 1.471 GB, free: 8.328 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.5052, allocations: 8 kB / 1.471 GB, free: 8.32 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.5053, allocations: 0 / 1.471 GB, free: 8.32 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 8.51e-05/0.5053, allocations: 109.8 kB / 1.471 GB, free: 8.203 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/0.5054, allocations: 3.953 kB / 1.471 GB, free: 8.199 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.824e-05/0.5054, allocations: 11.11 kB / 1.471 GB, free: 8.188 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.5054, allocations: 0 / 1.471 GB, free: 8.188 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.531e-06/0.5054, allocations: 7.938 kB / 1.471 GB, free: 8.18 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.5054, allocations: 0 / 1.471 GB, free: 8.18 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003683/0.5058, allocations: 363.6 kB / 1.472 GB, free: 7.762 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.5058, allocations: 0 / 1.472 GB, free: 7.762 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.3e-05/0.5058, allocations: 7.938 kB / 1.472 GB, free: 7.754 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.5058, allocations: 0 / 1.472 GB, free: 7.754 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.5058, allocations: 4 kB / 1.472 GB, free: 7.75 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.5058, allocations: 4 kB / 1.472 GB, free: 7.746 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5058, allocations: 0 / 1.472 GB, free: 7.746 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.5059, allocations: 73.98 kB / 1.472 GB, free: 7.652 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.506, allocations: 89 kB / 1.472 GB, free: 7.547 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.506, allocations: 0 / 1.472 GB, free: 7.547 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.448e-05/0.5061, allocations: 4 kB / 1.472 GB, free: 7.543 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.477e-05/0.5061, allocations: 3.938 kB / 1.472 GB, free: 7.539 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.5061, allocations: 0 / 1.472 GB, free: 7.539 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.5061, allocations: 91.3 kB / 1.472 GB, free: 7.449 MB / 1.17 GB Notification: Performance of sort global known variables: time 6e-08/0.5062, allocations: 0 / 1.472 GB, free: 7.449 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001947/0.5063, allocations: 8 kB / 1.472 GB, free: 7.441 MB / 1.17 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.0004462/0.5068, allocations: 0.6176 MB / 1.473 GB, free: 6.793 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 7.931e-05/0.5069, allocations: 8 kB / 1.473 GB, free: 6.785 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.5069, allocations: 0 / 1.473 GB, free: 6.785 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.42e-05/0.5069, allocations: 7.938 kB / 1.473 GB, free: 6.777 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002004/0.5071, allocations: 11.98 kB / 1.473 GB, free: 6.766 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003904/0.5075, allocations: 153.3 kB / 1.473 GB, free: 6.574 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.5078, allocations: 0.6768 MB / 1.474 GB, free: 5.871 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.033e-05/0.5078, allocations: 7.984 kB / 1.474 GB, free: 5.863 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.5079, allocations: 7.438 kB / 1.474 GB, free: 5.855 MB / 1.17 GB Notification: Performance of SimCode: time 3.3e-07/0.5079, allocations: 3.938 kB / 1.474 GB, free: 5.852 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.532, allocations: 1.468 MB / 1.475 GB, free: 4.484 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.789/8.321, allocations: 11.91 kB / 1.475 GB, free: 4.473 MB / 1.17 GB " [Timeout remaining time 292] (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: 14.626027388032526]