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.001203/0.001203, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001344/0.001344, allocations: 211.5 kB / 22.24 MB, free: 5.262 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.331/1.331, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 179] 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 2.948/2.948, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 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.001936/0.001936, allocations: 63.41 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2934/0.2953, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1563/0.4516, allocations: 130.3 MB / 1.491 GB, free: 11.27 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.000137/0.4518, allocations: 55.8 kB / 1.491 GB, free: 11.21 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.308e-05/0.4518, allocations: 0 / 1.491 GB, free: 11.21 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 9.565e-05/0.4519, allocations: 3.984 kB / 1.491 GB, free: 11.21 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.452, allocations: 11.94 kB / 1.491 GB, free: 11.2 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007973/0.4528, allocations: 215.2 kB / 1.491 GB, free: 10.99 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 8.432e-05/0.4529, allocations: 35.8 kB / 1.491 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 4.534e-05/0.4529, allocations: 3.984 kB / 1.491 GB, free: 10.95 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 3.528e-05/0.4529, allocations: 12 kB / 1.491 GB, free: 10.94 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 6.659e-05/0.453, allocations: 7.984 kB / 1.491 GB, free: 10.93 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.453, allocations: 4 kB / 1.491 GB, free: 10.93 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003917/0.4534, allocations: 167.4 kB / 1.491 GB, free: 10.76 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 4.852e-05/0.4535, allocations: 11.92 kB / 1.491 GB, free: 10.75 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.4535, allocations: 8 kB / 1.491 GB, free: 10.74 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0002636/0.4537, allocations: 115.9 kB / 1.491 GB, free: 10.63 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.4538, allocations: 0 / 1.491 GB, free: 10.63 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4538, allocations: 0 / 1.491 GB, free: 10.63 MB / 1.186 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.4538, allocations: 0 / 1.491 GB, free: 10.63 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.0004116/0.4542, allocations: 270.2 kB / 1.492 GB, free: 10.34 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/0.4542, allocations: 12.03 kB / 1.492 GB, free: 10.32 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.602e-05/0.4543, allocations: 30.75 kB / 1.492 GB, free: 10.29 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003069/0.4546, allocations: 32.86 kB / 1.492 GB, free: 10.25 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.4547, allocations: 110.3 kB / 1.492 GB, free: 10.12 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.869e-05/0.4548, allocations: 51.41 kB / 1.492 GB, free: 10.06 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.4548, allocations: 4 kB / 1.492 GB, free: 10.05 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001556/0.4549, allocations: 79.31 kB / 1.492 GB, free: 9.965 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.4549, allocations: 0 / 1.492 GB, free: 9.965 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.4549, allocations: 0 / 1.492 GB, free: 9.965 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.455, allocations: 4 kB / 1.492 GB, free: 9.961 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.558e-05/0.455, allocations: 19.98 kB / 1.492 GB, free: 9.941 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003881/0.4554, allocations: 228 kB / 1.492 GB, free: 9.676 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 5.773e-05/0.4555, allocations: 18.58 kB / 1.492 GB, free: 9.648 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.209e-05/0.4555, allocations: 20.86 kB / 1.492 GB, free: 9.625 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001374/0.4556, allocations: 15.92 kB / 1.492 GB, free: 9.609 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.4557, allocations: 34.56 kB / 1.492 GB, free: 9.566 MB / 1.186 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4557, allocations: 0 / 1.492 GB, free: 9.566 MB / 1.186 GB Notification: Performance of matching and sorting (n=2): time 0.0002558/0.4559, allocations: 49.78 kB / 1.492 GB, free: 9.512 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.456, allocations: 59.34 kB / 1.492 GB, free: 9.441 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001/0.4561, allocations: 101.8 kB / 1.492 GB, free: 9.332 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.4561, allocations: 25.7 kB / 1.492 GB, free: 9.301 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/0.4561, allocations: 88.09 kB / 1.492 GB, free: 9.211 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.4561, allocations: 11.89 kB / 1.492 GB, free: 9.199 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-05/0.4562, allocations: 17.7 kB / 1.493 GB, free: 9.176 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4563, allocations: 314.8 kB / 1.493 GB, free: 8.859 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.4564, allocations: 7.938 kB / 1.493 GB, free: 8.852 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.127e-05/0.4564, allocations: 26.56 kB / 1.493 GB, free: 8.816 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.364e-05/0.4564, allocations: 34.61 kB / 1.493 GB, free: 8.773 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.4564, allocations: 0 / 1.493 GB, free: 8.773 MB / 1.186 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.002e-05/0.4565, allocations: 57.58 kB / 1.493 GB, free: 8.711 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.4566, allocations: 4 kB / 1.493 GB, free: 8.707 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.4566, allocations: 3.984 kB / 1.493 GB, free: 8.703 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.4566, allocations: 4 kB / 1.493 GB, free: 8.699 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.4566, allocations: 7.938 kB / 1.493 GB, free: 8.691 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.864e-06/0.4567, allocations: 4.031 kB / 1.493 GB, free: 8.688 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.085e-05/0.4567, allocations: 12 kB / 1.493 GB, free: 8.676 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.4567, allocations: 0 / 1.493 GB, free: 8.676 MB / 1.186 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.775e-05/0.4568, allocations: 113.8 kB / 1.493 GB, free: 8.555 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.4568, allocations: 0 / 1.493 GB, free: 8.555 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.711e-05/0.4568, allocations: 11.59 kB / 1.493 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.4568, allocations: 0 / 1.493 GB, free: 8.543 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.4568, allocations: 7.875 kB / 1.493 GB, free: 8.535 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.4568, allocations: 3.984 kB / 1.493 GB, free: 8.531 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003045/0.4571, allocations: 338.6 kB / 1.493 GB, free: 8.145 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.4571, allocations: 4.062 kB / 1.493 GB, free: 8.141 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.808e-05/0.4572, allocations: 7.922 kB / 1.493 GB, free: 8.133 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.4572, allocations: 4 kB / 1.493 GB, free: 8.129 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.959e-06/0.4572, allocations: 0 / 1.493 GB, free: 8.129 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.4572, allocations: 0 / 1.493 GB, free: 8.129 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4572, allocations: 3.938 kB / 1.493 GB, free: 8.125 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.559e-05/0.4573, allocations: 69.94 kB / 1.493 GB, free: 8.035 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 1.32e-05/0.4573, allocations: 11.92 kB / 1.494 GB, free: 8.023 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.483e-05/0.4573, allocations: 0 / 1.494 GB, free: 8.023 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.568e-05/0.4574, allocations: 4 kB / 1.494 GB, free: 8.02 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.4574, allocations: 4.031 kB / 1.494 GB, free: 8.016 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.014e-06/0.4574, allocations: 0 / 1.494 GB, free: 8.016 MB / 1.186 GB Notification: Performance of sorting global known variables: time 5.155e-05/0.4574, allocations: 87.27 kB / 1.494 GB, free: 7.93 MB / 1.186 GB Notification: Performance of sort global known variables: time 5e-08/0.4574, allocations: 0 / 1.494 GB, free: 7.93 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0001873/0.4576, allocations: 8 kB / 1.494 GB, free: 7.922 MB / 1.186 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.0003923/0.458, allocations: 0.6093 MB / 1.494 GB, free: 7.281 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 7.112e-05/0.4581, allocations: 12.09 kB / 1.494 GB, free: 7.27 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4581, allocations: 0 / 1.494 GB, free: 7.27 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.232e-05/0.4581, allocations: 7.938 kB / 1.494 GB, free: 7.262 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.4583, allocations: 11.98 kB / 1.494 GB, free: 7.25 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003815/0.4587, allocations: 149.3 kB / 1.494 GB, free: 7.059 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.866e-05/0.4588, allocations: 63.28 kB / 1.494 GB, free: 6.977 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 4.826e-05/0.4588, allocations: 8.25 kB / 1.494 GB, free: 6.969 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.961e-05/0.4588, allocations: 7.438 kB / 1.494 GB, free: 6.961 MB / 1.186 GB Notification: Performance of SimCode: time 3.41e-07/0.4588, allocations: 0 / 1.494 GB, free: 6.961 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03269/0.4915, allocations: 2.004 MB / 1.496 GB, free: 5.09 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.03/10.52, allocations: 14.19 kB / 1.496 GB, free: 5.082 MB / 1.186 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 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.mat","/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.49081616476178]