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: 104.3 kB / 19.7 MB, free: 2.156 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.002171/0.002171, allocations: 209.3 kB / 22.99 MB, free: 4.984 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.547/1.547, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.381/3.381, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002018/0.002018, allocations: 62.91 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4372/0.4392, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1862/0.6254, allocations: 130.4 MB / 1.454 GB, free: 14.12 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.0001777/0.6256, allocations: 43.88 kB / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.059e-05/0.6257, allocations: 0 / 1.454 GB, free: 14.08 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0001452/0.6258, allocations: 7.984 kB / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.448e-05/0.6259, allocations: 7.938 kB / 1.454 GB, free: 14.07 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.6269, allocations: 223.2 kB / 1.455 GB, free: 13.85 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.627, allocations: 23.92 kB / 1.455 GB, free: 13.82 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.6271, allocations: 11.98 kB / 1.455 GB, free: 13.81 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 4.38e-05/0.6271, allocations: 15.92 kB / 1.455 GB, free: 13.8 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 8.902e-05/0.6272, allocations: 7.938 kB / 1.455 GB, free: 13.79 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 1.642e-05/0.6273, allocations: 7.984 kB / 1.455 GB, free: 13.78 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.6277, allocations: 155.5 kB / 1.455 GB, free: 13.63 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 5.771e-05/0.6277, allocations: 11.98 kB / 1.455 GB, free: 13.62 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 2.818e-05/0.6277, allocations: 7.938 kB / 1.455 GB, free: 13.61 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.628, allocations: 111.7 kB / 1.455 GB, free: 13.5 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.748e-06/0.628, allocations: 0 / 1.455 GB, free: 13.5 MB / 1.154 GB Notification: Performance of FrontEnd: time 4.118e-06/0.628, allocations: 4 kB / 1.455 GB, free: 13.5 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.288e-05/0.628, allocations: 3.938 kB / 1.455 GB, free: 13.49 MB / 1.154 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.0004725/0.6285, allocations: 266.2 kB / 1.455 GB, free: 13.2 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.6286, allocations: 12.03 kB / 1.455 GB, free: 13.19 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003489/0.6289, allocations: 20.91 kB / 1.455 GB, free: 13.17 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001274/0.629, allocations: 110.5 kB / 1.455 GB, free: 13.04 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.004e-05/0.6291, allocations: 63.28 kB / 1.455 GB, free: 12.96 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.898e-05/0.6291, allocations: 4 kB / 1.455 GB, free: 12.96 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.6293, allocations: 79.31 kB / 1.455 GB, free: 12.87 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.6293, allocations: 0 / 1.455 GB, free: 12.87 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.6293, allocations: 0 / 1.455 GB, free: 12.87 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.581e-05/0.6293, allocations: 0 / 1.455 GB, free: 12.87 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.636e-05/0.6294, allocations: 23.98 kB / 1.456 GB, free: 12.85 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003911/0.6298, allocations: 208.5 kB / 1.456 GB, free: 12.61 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 6.542e-05/0.6299, allocations: 18.58 kB / 1.456 GB, free: 12.59 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.037e-05/0.6299, allocations: 20.86 kB / 1.456 GB, free: 12.56 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001352/0.63, allocations: 15.98 kB / 1.456 GB, free: 12.55 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.6301, allocations: 34.56 kB / 1.456 GB, free: 12.5 MB / 1.154 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.6301, allocations: 0 / 1.456 GB, free: 12.5 MB / 1.154 GB Notification: Performance of matching and sorting (n=2): time 0.0002523/0.6303, allocations: 45.69 kB / 1.456 GB, free: 12.45 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.897e-05/0.6303, allocations: 51.41 kB / 1.456 GB, free: 12.39 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.264e-05/0.6304, allocations: 105.8 kB / 1.456 GB, free: 12.28 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.864e-05/0.6305, allocations: 25.83 kB / 1.456 GB, free: 12.25 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 5.786e-05/0.6305, allocations: 92.09 kB / 1.456 GB, free: 12.15 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 1.227e-05/0.6305, allocations: 11.89 kB / 1.456 GB, free: 12.14 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.421e-05/0.6306, allocations: 17.7 kB / 1.456 GB, free: 12.12 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.6307, allocations: 314.8 kB / 1.456 GB, free: 11.8 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.081e-05/0.6307, allocations: 11.94 kB / 1.456 GB, free: 11.79 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.101e-05/0.6308, allocations: 22.56 kB / 1.456 GB, free: 11.76 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/0.6308, allocations: 30.58 kB / 1.456 GB, free: 11.72 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.6308, allocations: 0 / 1.456 GB, free: 11.72 MB / 1.154 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.943e-05/0.6309, allocations: 57.62 kB / 1.457 GB, free: 11.66 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.6309, allocations: 7.938 kB / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.6309, allocations: 0 / 1.457 GB, free: 11.65 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6309, allocations: 7.938 kB / 1.457 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.023e-05/0.631, allocations: 4.281 kB / 1.457 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.631, allocations: 0 / 1.457 GB, free: 11.64 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.142e-05/0.631, allocations: 7.938 kB / 1.457 GB, free: 11.63 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.631, allocations: 4 kB / 1.457 GB, free: 11.62 MB / 1.154 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.64e-05/0.6311, allocations: 109.9 kB / 1.457 GB, free: 11.51 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.6312, allocations: 11.94 kB / 1.457 GB, free: 11.5 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.834e-05/0.6312, allocations: 11.3 kB / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.6312, allocations: 4 kB / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.6312, allocations: 0 / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.6312, allocations: 3.938 kB / 1.457 GB, free: 11.48 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002927/0.6315, allocations: 311.2 kB / 1.457 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.6315, allocations: 0 / 1.457 GB, free: 11.13 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.341e-05/0.6315, allocations: 4 kB / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.6315, allocations: 3.938 kB / 1.457 GB, free: 11.12 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.6315, allocations: 8.062 kB / 1.457 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.6315, allocations: 7.922 kB / 1.457 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6315, allocations: 0 / 1.457 GB, free: 11.11 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.523e-05/0.6316, allocations: 73.94 kB / 1.457 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 8.395e-06/0.6316, allocations: 3.953 kB / 1.457 GB, free: 11.01 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.6317, allocations: 4 kB / 1.457 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.858e-05/0.6317, allocations: 7.922 kB / 1.457 GB, free: 11 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.6318, allocations: 4 kB / 1.457 GB, free: 10.99 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.165e-06/0.6318, allocations: 0 / 1.457 GB, free: 10.99 MB / 1.154 GB Notification: Performance of sorting global known variables: time 5.4e-05/0.6318, allocations: 79.28 kB / 1.457 GB, free: 10.91 MB / 1.154 GB Notification: Performance of sort global known variables: time 1e-07/0.6318, allocations: 4.031 kB / 1.457 GB, free: 10.91 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0001988/0.632, allocations: 15.98 kB / 1.457 GB, free: 10.89 MB / 1.154 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.0001464/0.6322, allocations: 99.23 kB / 1.457 GB, free: 10.79 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 9.487e-05/0.6323, allocations: 11.94 kB / 1.457 GB, free: 10.78 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6323, allocations: 0 / 1.457 GB, free: 10.78 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.6323, allocations: 8 kB / 1.457 GB, free: 10.77 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000254/0.6325, allocations: 9.5 kB / 1.457 GB, free: 10.76 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.6328, allocations: 131.5 kB / 1.457 GB, free: 10.6 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.081e-05/0.6329, allocations: 67.28 kB / 1.458 GB, free: 10.52 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 5.063e-05/0.6329, allocations: 4 kB / 1.458 GB, free: 10.51 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.633, allocations: 7.438 kB / 1.458 GB, free: 10.5 MB / 1.154 GB Notification: Performance of SimCode: time 3.21e-07/0.633, allocations: 4 kB / 1.458 GB, free: 10.5 MB / 1.154 GB Notification: Performance of Templates: time 0.003244/0.6362, allocations: 0.624 MB / 1.458 GB, free: 9.883 MB / 1.154 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 -s cvode -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/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: 9.887927795003634]