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.001852/0.001852, allocations: 107.1 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.002214/0.002214, 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.558/1.558, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.309/3.309, allocations: 0.4899 GB / 0.7915 GB, free: 33.08 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: translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion") [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.002234/0.002234, allocations: 72.92 kB / 1.149 GB, free: 26.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3882/0.3904, allocations: 176.1 MB / 1.321 GB, free: 2.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1814/0.5719, allocations: 151.6 MB / 1.469 GB, free: 10.77 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.0001471/0.572, allocations: 51.8 kB / 1.469 GB, free: 10.72 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.328e-05/0.572, allocations: 0 / 1.469 GB, free: 10.72 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.5721, allocations: 11.94 kB / 1.469 GB, free: 10.71 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 8.276e-05/0.5722, allocations: 15.91 kB / 1.469 GB, free: 10.69 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008118/0.573, allocations: 219.2 kB / 1.47 GB, free: 10.48 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 8.767e-05/0.5731, allocations: 31.91 kB / 1.47 GB, free: 10.45 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 3.984e-05/0.5732, allocations: 3.984 kB / 1.47 GB, free: 10.44 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.5732, allocations: 19.94 kB / 1.47 GB, free: 10.42 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 7.08e-05/0.5733, allocations: 19.91 kB / 1.47 GB, free: 10.4 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.5733, allocations: 0 / 1.47 GB, free: 10.4 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000421/0.5737, allocations: 207.4 kB / 1.47 GB, free: 10.2 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.5737, allocations: 7.984 kB / 1.47 GB, free: 10.19 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 3.009e-05/0.5738, allocations: 15.92 kB / 1.47 GB, free: 10.18 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0002381/0.574, allocations: 111.7 kB / 1.47 GB, free: 10.07 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.574, allocations: 0 / 1.47 GB, free: 10.07 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.203e-06/0.574, allocations: 0 / 1.47 GB, free: 10.07 MB / 1.17 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.574, allocations: 0 / 1.47 GB, free: 10.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.0004551/0.5745, allocations: 351.3 kB / 1.47 GB, free: 9.676 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.476e-05/0.5745, allocations: 11.98 kB / 1.47 GB, free: 9.664 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003157/0.5748, allocations: 24.86 kB / 1.47 GB, free: 9.641 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.575, allocations: 172.3 kB / 1.47 GB, free: 9.434 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.016e-05/0.575, allocations: 29.64 kB / 1.47 GB, free: 9.398 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.575, allocations: 4 kB / 1.47 GB, free: 9.395 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.5752, allocations: 45.69 kB / 1.471 GB, free: 9.344 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.5752, allocations: 4 kB / 1.471 GB, free: 9.34 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.5752, allocations: 0 / 1.471 GB, free: 9.34 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.617e-05/0.5752, allocations: 3.984 kB / 1.471 GB, free: 9.336 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.5753, allocations: 27.97 kB / 1.471 GB, free: 9.309 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/0.5756, allocations: 260.8 kB / 1.471 GB, free: 9.004 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 5.758e-05/0.5757, allocations: 26.56 kB / 1.471 GB, free: 8.969 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.891e-05/0.5757, allocations: 8.859 kB / 1.471 GB, free: 8.957 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001668/0.5759, allocations: 93.16 kB / 1.471 GB, free: 8.848 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.5759, allocations: 30.56 kB / 1.471 GB, free: 8.809 MB / 1.17 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.5759, allocations: 0 / 1.471 GB, free: 8.809 MB / 1.17 GB Notification: Performance of matching and sorting (n=2): time 0.0002531/0.5762, allocations: 53.62 kB / 1.471 GB, free: 8.75 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.237e-05/0.5762, allocations: 55.53 kB / 1.471 GB, free: 8.684 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.377e-05/0.5763, allocations: 101.8 kB / 1.471 GB, free: 8.574 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.5763, allocations: 29.7 kB / 1.471 GB, free: 8.539 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 5.199e-05/0.5764, allocations: 92.08 kB / 1.471 GB, free: 8.445 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 1.247e-05/0.5764, allocations: 11.83 kB / 1.471 GB, free: 8.434 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-05/0.5764, allocations: 13.72 kB / 1.471 GB, free: 8.414 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001336/0.5766, allocations: 314.8 kB / 1.472 GB, free: 8.098 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.075e-05/0.5766, allocations: 7.984 kB / 1.472 GB, free: 8.09 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.5766, allocations: 26.58 kB / 1.472 GB, free: 8.055 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.5767, allocations: 30.52 kB / 1.472 GB, free: 8.016 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.5767, allocations: 4 kB / 1.472 GB, free: 8.012 MB / 1.17 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.339e-05/0.5767, allocations: 57.62 kB / 1.472 GB, free: 7.949 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.5768, allocations: 8.094 kB / 1.472 GB, free: 7.941 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.5768, allocations: 0 / 1.472 GB, free: 7.941 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.5768, allocations: 0 / 1.472 GB, free: 7.941 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.737e-05/0.5768, allocations: 11.98 kB / 1.472 GB, free: 7.93 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.5768, allocations: 3.938 kB / 1.472 GB, free: 7.926 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.297e-05/0.5769, allocations: 4 kB / 1.472 GB, free: 7.922 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.576e-06/0.5769, allocations: 0 / 1.472 GB, free: 7.922 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 7.958e-05/0.577, allocations: 109.8 kB / 1.472 GB, free: 7.805 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.782e-05/0.577, allocations: 11.83 kB / 1.472 GB, free: 7.793 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.122e-05/0.577, allocations: 11.12 kB / 1.472 GB, free: 7.781 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.577, allocations: 0 / 1.472 GB, free: 7.781 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.577, allocations: 3.938 kB / 1.472 GB, free: 7.777 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-06/0.577, allocations: 4 kB / 1.472 GB, free: 7.773 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000323/0.5773, allocations: 355.6 kB / 1.472 GB, free: 7.363 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5773, allocations: 0 / 1.472 GB, free: 7.363 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.716e-05/0.5774, allocations: 7.938 kB / 1.472 GB, free: 7.355 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.5774, allocations: 3.938 kB / 1.472 GB, free: 7.352 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-06/0.5774, allocations: 4.062 kB / 1.472 GB, free: 7.348 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.5774, allocations: 3.984 kB / 1.472 GB, free: 7.344 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.5774, allocations: 4 kB / 1.472 GB, free: 7.34 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.515e-05/0.5775, allocations: 62 kB / 1.472 GB, free: 7.258 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 4.782e-05/0.5775, allocations: 85 kB / 1.472 GB, free: 7.156 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.5775, allocations: 7.984 kB / 1.472 GB, free: 7.148 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.327e-05/0.5776, allocations: 4.031 kB / 1.472 GB, free: 7.145 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.536e-05/0.5776, allocations: 4 kB / 1.472 GB, free: 7.141 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.5776, allocations: 0 / 1.472 GB, free: 7.141 MB / 1.17 GB Notification: Performance of sorting global known variables: time 4.562e-05/0.5777, allocations: 87.22 kB / 1.472 GB, free: 7.055 MB / 1.17 GB Notification: Performance of sort global known variables: time 8e-08/0.5777, allocations: 0 / 1.472 GB, free: 7.055 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0001973/0.5779, allocations: 8 kB / 1.473 GB, free: 7.047 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.0001357/0.578, allocations: 99.66 kB / 1.473 GB, free: 6.941 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.609e-05/0.5781, allocations: 20 kB / 1.473 GB, free: 6.922 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.5781, allocations: 0 / 1.473 GB, free: 6.922 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 1.73e-05/0.5781, allocations: 7.938 kB / 1.473 GB, free: 6.914 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002339/0.5783, allocations: 17.81 kB / 1.473 GB, free: 6.898 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.5786, allocations: 127.6 kB / 1.473 GB, free: 6.746 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.5789, allocations: 0.6807 MB / 1.473 GB, free: 6.039 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 4.854e-05/0.579, allocations: 7.984 kB / 1.473 GB, free: 6.031 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.234e-05/0.579, allocations: 7.438 kB / 1.473 GB, free: 6.023 MB / 1.17 GB Notification: Performance of SimCode: time 2.91e-07/0.579, allocations: 0 / 1.473 GB, free: 6.023 MB / 1.17 GB Notification: Performance of Templates: time 0.003002/0.582, allocations: 0.5779 MB / 1.474 GB, free: 5.449 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.AirTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_AirTemperatureEnthalpyInversion.csv","/var/lib/jenkins/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: 9.415746353566647]