Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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.0008373/0.0008373, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0009321/0.0009321, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8767/0.8767, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 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 1.735/1.735, allocations: 389 MB / 0.6338 GB, free: 12.71 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.589e-05/2.744e-05, allocations: 8.75 kB / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003939/0.003966, allocations: 3.902 MB / 1.005 GB, free: 9.121 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0001329/0.004099, allocations: 135.5 kB / 1.005 GB, free: 8.988 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.569e-05/0.004125, allocations: 4 kB / 1.005 GB, free: 8.984 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.004233, allocations: 3.938 kB / 1.005 GB, free: 8.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.72e-05/0.004311, allocations: 15.84 kB / 1.005 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003096/0.00462, allocations: 87.67 kB / 1.005 GB, free: 8.879 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.477e-05/0.004705, allocations: 35.86 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.433e-05/0.004749, allocations: 4 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 5.707e-05/0.004806, allocations: 19.97 kB / 1.005 GB, free: 8.82 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.00488, allocations: 15.92 kB / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.004894, allocations: 0 / 1.005 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001626/0.005056, allocations: 55.75 kB / 1.005 GB, free: 8.75 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.422e-05/0.00511, allocations: 11.92 kB / 1.005 GB, free: 8.738 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.005287, allocations: 11.98 kB / 1.005 GB, free: 8.727 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001366/0.005424, allocations: 59.86 kB / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.005428, allocations: 0 / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.783e-06/0.005429, allocations: 0 / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.005434, allocations: 0 / 1.005 GB, free: 8.668 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003524/0.005787, allocations: 262.3 kB / 1.005 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.005824, allocations: 8.75 kB / 1.005 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.284e-05/0.005866, allocations: 4.891 kB / 1.005 GB, free: 8.371 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.751e-05/0.005944, allocations: 109.7 kB / 1.005 GB, free: 8.238 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/0.006011, allocations: 55.95 kB / 1.006 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.879e-06/0.006021, allocations: 4.375 kB / 1.006 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.006141, allocations: 71.89 kB / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.006149, allocations: 192 / 1.006 GB, free: 8.086 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.006161, allocations: 3.938 kB / 1.006 GB, free: 8.082 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.876e-05/0.006179, allocations: 4 kB / 1.006 GB, free: 8.078 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.006217, allocations: 15.98 kB / 1.006 GB, free: 8.062 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003541/0.006571, allocations: 204.6 kB / 1.006 GB, free: 7.832 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 4.093e-05/0.006612, allocations: 22.52 kB / 1.006 GB, free: 7.801 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.486e-05/0.006627, allocations: 12.86 kB / 1.006 GB, free: 7.785 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.311e-05/0.00667, allocations: 7.984 kB / 1.006 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.399e-05/0.006694, allocations: 38.56 kB / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=1): time 9.32e-07/0.006695, allocations: 0 / 1.006 GB, free: 7.73 MB / 0.9636 GB Notification: Performance of matching and sorting (n=1): time 0.0001404/0.006835, allocations: 29.7 kB / 1.006 GB, free: 7.695 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.006865, allocations: 59.47 kB / 1.006 GB, free: 7.625 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.257e-05/0.006937, allocations: 113.7 kB / 1.006 GB, free: 7.504 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/0.00695, allocations: 25.7 kB / 1.006 GB, free: 7.473 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/0.006986, allocations: 80.14 kB / 1.006 GB, free: 7.391 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.728e-06/0.006996, allocations: 15.89 kB / 1.006 GB, free: 7.375 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.007024, allocations: 13.72 kB / 1.006 GB, free: 7.355 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.472e-05/0.007099, allocations: 314.8 kB / 1.007 GB, free: 7.039 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.361e-05/0.007112, allocations: 8 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.958e-05/0.007132, allocations: 13.72 kB / 1.007 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.343e-05/0.007165, allocations: 25.7 kB / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.007167, allocations: 0 / 1.007 GB, free: 6.98 MB / 0.9636 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.001e-05/0.007227, allocations: 49.58 kB / 1.007 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.00724, allocations: 4 kB / 1.007 GB, free: 6.922 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.007248, allocations: 3.984 kB / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.00726, allocations: 0 / 1.007 GB, free: 6.918 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.611e-05/0.007306, allocations: 12 kB / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.007311, allocations: 0 / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.229e-05/0.007323, allocations: 0 / 1.007 GB, free: 6.906 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.698e-06/0.007333, allocations: 4 kB / 1.007 GB, free: 6.902 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.745e-05/0.007391, allocations: 113.8 kB / 1.007 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.568e-05/0.007406, allocations: 7.891 kB / 1.007 GB, free: 6.773 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.007508, allocations: 121 kB / 1.007 GB, free: 6.648 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.164e-05/0.00755, allocations: 184.3 kB / 1.007 GB, free: 6.461 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.2e-05/0.007592, allocations: 180.2 kB / 1.007 GB, free: 6.277 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-05/0.00763, allocations: 180.2 kB / 1.007 GB, free: 6.094 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001336/0.007764, allocations: 361.1 kB / 1.008 GB, free: 5.703 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.586e-05/0.00779, allocations: 105 kB / 1.008 GB, free: 5.594 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.007813, allocations: 101 kB / 1.008 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.583e-05/0.007859, allocations: 192.1 kB / 1.008 GB, free: 5.293 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.427e-05/0.007903, allocations: 180.3 kB / 1.008 GB, free: 5.109 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.09e-05/0.007944, allocations: 180.2 kB / 1.008 GB, free: 4.926 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.134e-05/0.007985, allocations: 184.2 kB / 1.009 GB, free: 4.738 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.008086, allocations: 307.8 kB / 1.009 GB, free: 4.414 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 3.065e-05/0.008116, allocations: 104.9 kB / 1.009 GB, free: 4.305 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.242e-05/0.008169, allocations: 184.2 kB / 1.009 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.008272, allocations: 109 kB / 1.009 GB, free: 4.004 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.374e-05/0.008326, allocations: 184.2 kB / 1.009 GB, free: 3.816 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.449e-05/0.00835, allocations: 105 kB / 1.01 GB, free: 3.707 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.475e-05/0.008385, allocations: 83.28 kB / 1.01 GB, free: 3.625 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.008385, allocations: 4 kB / 1.01 GB, free: 3.621 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001796/0.008565, allocations: 27.92 kB / 1.01 GB, free: 3.594 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001675/0.008732, allocations: 186.5 kB / 1.01 GB, free: 3.402 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 7.177e-05/0.008804, allocations: 12.25 kB / 1.01 GB, free: 3.391 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.008806, allocations: 3.938 kB / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 9.52e-07/0.008807, allocations: 0 / 1.01 GB, free: 3.387 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.009162, allocations: 464.9 kB / 1.01 GB, free: 2.93 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.009426, allocations: 209.9 kB / 1.011 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.628e-05/0.009472, allocations: 59.34 kB / 1.011 GB, free: 2.613 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.354e-05/0.009496, allocations: 8.5 kB / 1.011 GB, free: 2.605 MB / 0.9636 GB Notification: Performance of SimCode: time 4.81e-07/0.009496, allocations: 4 kB / 1.011 GB, free: 2.602 MB / 0.9636 GB Notification: Performance of Templates: time 0.001763/0.01126, allocations: 0.7411 MB / 1.011 GB, free: 1.863 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.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: 6.553933389484882]