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.001776/0.001776, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002412/0.002412, allocations: 216.6 kB / 22.25 MB, free: 5.113 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.765/1.765, allocations: 230.6 MB / 256 MB, free: 8.227 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.343/3.343, allocations: 0.49 GB / 0.7951 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] 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.002127/0.002127, allocations: 63.77 kB / 1.154 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3761/0.3782, allocations: 176.1 MB / 1.326 GB, free: 1.98 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1899/0.5681, allocations: 151.6 MB / 1.474 GB, free: 9.777 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001644/0.5683, allocations: 55.78 kB / 1.474 GB, free: 9.723 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.747e-05/0.5683, allocations: 4 kB / 1.474 GB, free: 9.719 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.5684, allocations: 3.938 kB / 1.474 GB, free: 9.715 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 9.411e-05/0.5685, allocations: 11.97 kB / 1.474 GB, free: 9.703 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.000799/0.5693, allocations: 227.2 kB / 1.474 GB, free: 9.48 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 8.304e-05/0.5694, allocations: 27.91 kB / 1.474 GB, free: 9.453 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.972e-05/0.5694, allocations: 8 kB / 1.474 GB, free: 9.445 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 3.716e-05/0.5695, allocations: 15.98 kB / 1.474 GB, free: 9.43 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 7.874e-05/0.5695, allocations: 23.84 kB / 1.474 GB, free: 9.406 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.5696, allocations: 0 / 1.474 GB, free: 9.406 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004418/0.57, allocations: 207.4 kB / 1.474 GB, free: 9.203 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.283e-05/0.57, allocations: 11.92 kB / 1.475 GB, free: 9.191 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 2.625e-05/0.5701, allocations: 11.94 kB / 1.475 GB, free: 9.18 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002421/0.5703, allocations: 112 kB / 1.475 GB, free: 9.07 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5703, allocations: 0 / 1.475 GB, free: 9.07 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5703, allocations: 0 / 1.475 GB, free: 9.07 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.5703, allocations: 0 / 1.475 GB, free: 9.07 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.0004102/0.5707, allocations: 275.4 kB / 1.475 GB, free: 8.773 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.5708, allocations: 12.03 kB / 1.475 GB, free: 8.762 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.744e-05/0.5708, allocations: 30.75 kB / 1.475 GB, free: 8.723 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.5711, allocations: 24.91 kB / 1.475 GB, free: 8.699 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001095/0.5712, allocations: 118.2 kB / 1.475 GB, free: 8.559 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.228e-05/0.5713, allocations: 51.41 kB / 1.475 GB, free: 8.496 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.343e-05/0.5713, allocations: 4 kB / 1.475 GB, free: 8.492 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001378/0.5715, allocations: 57.66 kB / 1.475 GB, free: 8.43 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5715, allocations: 0 / 1.475 GB, free: 8.43 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.5715, allocations: 0 / 1.475 GB, free: 8.43 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.5715, allocations: 0 / 1.475 GB, free: 8.43 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.151e-05/0.5715, allocations: 23.98 kB / 1.475 GB, free: 8.406 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003894/0.5719, allocations: 231.9 kB / 1.475 GB, free: 8.137 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 6.106e-05/0.572, allocations: 34.55 kB / 1.475 GB, free: 8.094 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.319e-05/0.572, allocations: 8.859 kB / 1.475 GB, free: 8.082 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000123/0.5721, allocations: 16.05 kB / 1.475 GB, free: 8.066 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.585e-05/0.5722, allocations: 30.56 kB / 1.476 GB, free: 8.027 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.5722, allocations: 0 / 1.476 GB, free: 8.027 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.0002665/0.5724, allocations: 53.78 kB / 1.476 GB, free: 7.969 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.5725, allocations: 59.28 kB / 1.476 GB, free: 7.898 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.218e-05/0.5726, allocations: 101.9 kB / 1.476 GB, free: 7.789 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5726, allocations: 25.7 kB / 1.476 GB, free: 7.758 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.5726, allocations: 96.02 kB / 1.476 GB, free: 7.66 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 9.457e-06/0.5727, allocations: 7.891 kB / 1.476 GB, free: 7.652 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.351e-05/0.5727, allocations: 13.72 kB / 1.476 GB, free: 7.633 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.5728, allocations: 314.8 kB / 1.476 GB, free: 7.316 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.5728, allocations: 12.02 kB / 1.476 GB, free: 7.305 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.961e-05/0.5729, allocations: 18.58 kB / 1.476 GB, free: 7.277 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.638e-05/0.5729, allocations: 34.52 kB / 1.476 GB, free: 7.234 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.5729, allocations: 0 / 1.476 GB, free: 7.234 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.054e-05/0.573, allocations: 61.62 kB / 1.476 GB, free: 7.168 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.573, allocations: 4 kB / 1.476 GB, free: 7.164 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.573, allocations: 0 / 1.476 GB, free: 7.164 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.568e-05/0.573, allocations: 4 kB / 1.476 GB, free: 7.16 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.582e-05/0.5731, allocations: 7.984 kB / 1.476 GB, free: 7.152 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.5731, allocations: 3.938 kB / 1.476 GB, free: 7.148 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.031e-05/0.5731, allocations: 8 kB / 1.476 GB, free: 7.141 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.5731, allocations: 0 / 1.476 GB, free: 7.141 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.519e-05/0.5732, allocations: 114.5 kB / 1.476 GB, free: 7.02 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.799e-05/0.5733, allocations: 7.891 kB / 1.476 GB, free: 7.012 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.36e-05/0.5733, allocations: 7.312 kB / 1.476 GB, free: 7.004 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.237e-06/0.5733, allocations: 4 kB / 1.476 GB, free: 7 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.5733, allocations: 3.938 kB / 1.476 GB, free: 6.996 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5733, allocations: 0 / 1.476 GB, free: 6.996 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003087/0.5736, allocations: 330.7 kB / 1.477 GB, free: 6.617 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5736, allocations: 0 / 1.477 GB, free: 6.617 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.76e-05/0.5736, allocations: 12 kB / 1.477 GB, free: 6.605 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.5736, allocations: 0 / 1.477 GB, free: 6.605 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.5736, allocations: 4 kB / 1.477 GB, free: 6.602 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.19e-06/0.5736, allocations: 7.922 kB / 1.477 GB, free: 6.594 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5736, allocations: 0 / 1.477 GB, free: 6.594 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.369e-05/0.5737, allocations: 62 kB / 1.477 GB, free: 6.512 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 1.188e-05/0.5737, allocations: 15.92 kB / 1.477 GB, free: 6.496 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.5738, allocations: 0 / 1.477 GB, free: 6.496 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.146e-05/0.5738, allocations: 7.984 kB / 1.477 GB, free: 6.488 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.412e-05/0.5738, allocations: 0 / 1.477 GB, free: 6.488 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.5738, allocations: 0 / 1.477 GB, free: 6.488 MB / 1.17 GB Notification: Performance of sorting global known variables: time 5.372e-05/0.5739, allocations: 87.55 kB / 1.477 GB, free: 6.402 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5739, allocations: 0 / 1.477 GB, free: 6.402 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001975/0.5741, allocations: 8 kB / 1.477 GB, free: 6.395 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.000426/0.5745, allocations: 0.6171 MB / 1.478 GB, free: 5.746 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.581e-05/0.5746, allocations: 11.94 kB / 1.478 GB, free: 5.734 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.5746, allocations: 4.156 kB / 1.478 GB, free: 5.73 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 9.839e-06/0.5746, allocations: 8 kB / 1.478 GB, free: 5.723 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.5749, allocations: 11.94 kB / 1.478 GB, free: 5.711 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003967/0.5753, allocations: 149.3 kB / 1.478 GB, free: 5.52 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/0.5756, allocations: 0.6767 MB / 1.478 GB, free: 4.816 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 5.009e-05/0.5756, allocations: 12.11 kB / 1.478 GB, free: 4.805 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.076e-05/0.5756, allocations: 11.44 kB / 1.478 GB, free: 4.793 MB / 1.17 GB Notification: Performance of SimCode: time 3.01e-07/0.5756, allocations: 0 / 1.478 GB, free: 4.793 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02832/0.604, allocations: 1.567 MB / 1.48 GB, free: 3.359 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.79/11.39, allocations: 21.66 kB / 1.48 GB, free: 3.348 MB / 1.17 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: 18.63236177699946]