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.001773/0.001773, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001911/0.001911, allocations: 174 kB / 22.46 MB, free: 5.355 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.455/1.455, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.919/2.919, allocations: 389 MB / 0.633 GB, free: 0.9922 MB / 0.5919 GB " [Timeout remaining time 176] 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.954e-06/1.954e-06, allocations: 0 / 1 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.874e-05, allocations: 2.281 kB / 1 GB, free: 7.332 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006111/0.00614, allocations: 3.903 MB / 1.004 GB, free: 3.398 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0002257/0.006365, allocations: 147.5 kB / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.77e-05/0.006393, allocations: 0 / 1.004 GB, free: 3.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.006503, allocations: 3.938 kB / 1.004 GB, free: 3.25 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 8.495e-05/0.006588, allocations: 15.86 kB / 1.004 GB, free: 3.234 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.006981, allocations: 85.67 kB / 1.004 GB, free: 3.152 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.421e-05/0.007075, allocations: 35.84 kB / 1.004 GB, free: 3.117 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.007121, allocations: 4 kB / 1.004 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.942e-05/0.007181, allocations: 27.91 kB / 1.004 GB, free: 3.086 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.331e-05/0.007254, allocations: 7.984 kB / 1.004 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.582e-05/0.00727, allocations: 0 / 1.004 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/0.00748, allocations: 63.69 kB / 1.004 GB, free: 3.016 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 4.997e-05/0.00753, allocations: 3.984 kB / 1.004 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.671e-05/0.007556, allocations: 8 kB / 1.004 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.007727, allocations: 67.84 kB / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.007729, allocations: 0 / 1.004 GB, free: 2.938 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.31e-07/0.00773, allocations: 3.938 kB / 1.004 GB, free: 2.934 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.007734, allocations: 0 / 1.004 GB, free: 2.934 MB / 0.9512 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.0004213/0.008155, allocations: 258.3 kB / 1.005 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.035e-05/0.008195, allocations: 12.03 kB / 1.005 GB, free: 2.641 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.903e-05/0.008234, allocations: 4.891 kB / 1.005 GB, free: 2.637 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.00834, allocations: 105.7 kB / 1.005 GB, free: 2.508 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/0.008428, allocations: 59.95 kB / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.008442, allocations: 384 / 1.005 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.008594, allocations: 75.88 kB / 1.005 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.008603, allocations: 4.188 kB / 1.005 GB, free: 2.348 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.008615, allocations: 3.938 kB / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.008631, allocations: 0 / 1.005 GB, free: 2.344 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.537e-05/0.008677, allocations: 15.98 kB / 1.005 GB, free: 2.328 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.009073, allocations: 200.6 kB / 1.005 GB, free: 2.102 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.03e-05/0.009123, allocations: 18.58 kB / 1.005 GB, free: 2.074 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.418e-05/0.009147, allocations: 16.73 kB / 1.005 GB, free: 2.055 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.009205, allocations: 12.05 kB / 1.005 GB, free: 2.043 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/0.009239, allocations: 30.56 kB / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=1): time 1.173e-06/0.00924, allocations: 0 / 1.005 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of matching and sorting (n=1): time 0.0001547/0.009395, allocations: 33.7 kB / 1.005 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.659e-05/0.009431, allocations: 51.41 kB / 1.005 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.627e-05/0.009527, allocations: 109.9 kB / 1.005 GB, free: 1.785 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.00955, allocations: 25.7 kB / 1.005 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.009612, allocations: 88.12 kB / 1.005 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.271e-05/0.009624, allocations: 11.89 kB / 1.005 GB, free: 1.652 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.009657, allocations: 13.72 kB / 1.005 GB, free: 1.633 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001527/0.00981, allocations: 318.8 kB / 1.006 GB, free: 1.312 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.652e-05/0.009826, allocations: 4 kB / 1.006 GB, free: 1.309 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.923e-05/0.009855, allocations: 17.72 kB / 1.006 GB, free: 1.285 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.257e-05/0.009908, allocations: 25.7 kB / 1.006 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.009909, allocations: 4 kB / 1.006 GB, free: 1.25 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.884e-05/0.009988, allocations: 45.58 kB / 1.006 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.01, allocations: 4 kB / 1.006 GB, free: 1.195 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.01001, allocations: 7.984 kB / 1.006 GB, free: 1.188 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.01002, allocations: 3.938 kB / 1.006 GB, free: 1.184 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.409e-05/0.01007, allocations: 4 kB / 1.006 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.01007, allocations: 0 / 1.006 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.01009, allocations: 12 kB / 1.006 GB, free: 1.168 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.0101, allocations: 0 / 1.006 GB, free: 1.168 MB / 0.9512 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 8.369e-05/0.01019, allocations: 113.9 kB / 1.006 GB, free: 1.047 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.934e-05/0.01021, allocations: 7.891 kB / 1.006 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.01034, allocations: 120.9 kB / 1.006 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.421e-05/0.01044, allocations: 184.3 kB / 1.006 GB, free: 0.7266 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.719e-05/0.01051, allocations: 180.2 kB / 1.006 GB, free: 0.543 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.744e-05/0.01059, allocations: 180.3 kB / 1.007 GB, free: 368 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.01088, allocations: 356.9 kB / 1.007 GB, free: 15.97 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.775e-05/0.01092, allocations: 104.9 kB / 1.007 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.284e-05/0.01098, allocations: 104.9 kB / 1.007 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.99e-05/0.01107, allocations: 192.1 kB / 1.007 GB, free: 15.56 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.333e-05/0.01115, allocations: 180.3 kB / 1.008 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001041/0.01125, allocations: 176.3 kB / 1.008 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001272/0.01138, allocations: 184.2 kB / 1.008 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.01159, allocations: 307.8 kB / 1.008 GB, free: 14.68 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.626e-05/0.01165, allocations: 108.9 kB / 1.008 GB, free: 14.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.458e-05/0.01175, allocations: 180.2 kB / 1.008 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.01192, allocations: 109 kB / 1.009 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.01203, allocations: 184.3 kB / 1.009 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.652e-05/0.01209, allocations: 108.9 kB / 1.009 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.399e-05/0.01215, allocations: 79.28 kB / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.01215, allocations: 0 / 1.009 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003329/0.01248, allocations: 23.92 kB / 1.009 GB, free: 13.87 MB / 0.9669 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.0002428/0.01272, allocations: 198.7 kB / 1.009 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.419e-05/0.0128, allocations: 4 kB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.0128, allocations: 0 / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.01281, allocations: 3.938 kB / 1.009 GB, free: 13.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005212/0.01333, allocations: 467.7 kB / 1.01 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002926/0.01363, allocations: 172.4 kB / 1.01 GB, free: 13 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.81e-05/0.0137, allocations: 67.41 kB / 1.01 GB, free: 12.92 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.195e-05/0.01375, allocations: 7.984 kB / 1.01 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.426e-05/0.01377, allocations: 12.5 kB / 1.01 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of SimCode: time 4.51e-07/0.01377, allocations: 0 / 1.01 GB, free: 12.9 MB / 0.9669 GB Notification: Performance of Templates: time 0.003294/0.01706, allocations: 0.6674 MB / 1.01 GB, free: 12.24 MB / 0.9669 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: 8.17076040059328]