Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002045/0.002045, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002548/0.002548, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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 1.5/1.5, allocations: 177.1 MB / 203.9 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.852/2.852, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.604e-06/1.604e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.64e-05/2.8e-05, allocations: 6.469 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.00613/0.006158, allocations: 3.9 MB / 0.8146 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.0002398/0.006397, allocations: 142.6 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.276e-05/0.00642, allocations: 0 / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001021/0.006522, allocations: 7.938 kB / 0.8147 GB, free: 14.07 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.798e-05/0.0066, allocations: 15.84 kB / 0.8147 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.006949, allocations: 81.08 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.575e-05/0.007034, allocations: 41.16 kB / 0.8149 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.131e-05/0.007066, allocations: 0 / 0.8149 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 5.712e-05/0.007123, allocations: 19.92 kB / 0.8149 GB, free: 13.91 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.007195, allocations: 12.59 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.007208, allocations: 4 kB / 0.8149 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.007405, allocations: 56.3 kB / 0.815 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.772e-05/0.007453, allocations: 13.97 kB / 0.815 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.92e-05/0.007482, allocations: 8 kB / 0.815 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001656/0.007648, allocations: 67.73 kB / 0.815 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.00765, allocations: 0 / 0.815 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.62e-07/0.007651, allocations: 0 / 0.815 GB, free: 13.76 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.007655, allocations: 0 / 0.815 GB, free: 13.76 MB / 0.7761 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.0004153/0.00807, allocations: 258.9 kB / 0.8153 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.008107, allocations: 8.75 kB / 0.8153 GB, free: 13.47 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.417e-05/0.008162, allocations: 4.938 kB / 0.8153 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.00829, allocations: 107.2 kB / 0.8154 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.586e-05/0.008376, allocations: 55.95 kB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.548e-05/0.008392, allocations: 4.375 kB / 0.8155 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.008542, allocations: 68.58 kB / 0.8155 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.008549, allocations: 192 / 0.8155 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.583e-05/0.008565, allocations: 12.92 kB / 0.8155 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.079e-05/0.008586, allocations: 4 kB / 0.8155 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.319e-05/0.008639, allocations: 20.72 kB / 0.8156 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.009053, allocations: 196.6 kB / 0.8157 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.009104, allocations: 23.3 kB / 0.8158 GB, free: 12.9 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.009124, allocations: 8.797 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 6.825e-05/0.009193, allocations: 8.859 kB / 0.8158 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.009232, allocations: 39.44 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=1): time 8.72e-07/0.009233, allocations: 0 / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of matching and sorting (n=1): time 0.0001495/0.009382, allocations: 31.05 kB / 0.8159 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.009431, allocations: 59.41 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003399/0.009771, allocations: 97.84 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.127e-05/0.009793, allocations: 25.7 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.009863, allocations: 97 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 8.636e-06/0.009872, allocations: 7.891 kB / 0.8161 GB, free: 12.48 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.485e-05/0.009907, allocations: 16.03 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001956/0.0101, allocations: 318.8 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.01012, allocations: 4 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.066e-05/0.01015, allocations: 17.66 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.449e-05/0.0102, allocations: 25.7 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.0102, allocations: 3.438 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.794e-05/0.01029, allocations: 49.58 kB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.0103, allocations: 4 kB / 0.8165 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.01031, allocations: 7.984 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.01032, allocations: 0 / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.64e-05/0.01037, allocations: 4 kB / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.01037, allocations: 0 / 0.8166 GB, free: 12.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.053e-05/0.01039, allocations: 4 kB / 0.8166 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-06/0.0104, allocations: 0.7812 kB / 0.8166 GB, free: 12.01 MB / 0.7761 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 9.397e-05/0.0105, allocations: 110.3 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.038e-05/0.01053, allocations: 8.453 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.01067, allocations: 125.5 kB / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/0.01077, allocations: 180.3 kB / 0.817 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000108/0.01088, allocations: 184.7 kB / 0.8171 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.731e-05/0.01098, allocations: 177.1 kB / 0.8173 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002875/0.01126, allocations: 356.9 kB / 0.8177 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.146e-05/0.01133, allocations: 106 kB / 0.8178 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.713e-05/0.01138, allocations: 101 kB / 0.8178 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/0.01149, allocations: 192.1 kB / 0.818 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001014/0.01159, allocations: 180.9 kB / 0.8182 GB, free: 10.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001033/0.01169, allocations: 184.3 kB / 0.8184 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.815e-05/0.01179, allocations: 181.5 kB / 0.8186 GB, free: 9.848 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002102/0.012, allocations: 303.8 kB / 0.8188 GB, free: 9.527 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.01207, allocations: 112.9 kB / 0.8189 GB, free: 9.41 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.01218, allocations: 180.1 kB / 0.8191 GB, free: 9.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001877/0.01237, allocations: 112.9 kB / 0.8192 GB, free: 9.113 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.798e-05/0.01247, allocations: 176.3 kB / 0.8194 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-05/0.01253, allocations: 112.9 kB / 0.8195 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.187e-05/0.01259, allocations: 83.28 kB / 0.8196 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01259, allocations: 3.938 kB / 0.8196 GB, free: 8.73 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002671/0.01286, allocations: 19.92 kB / 0.8196 GB, free: 8.711 MB / 0.7761 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.0002305/0.01309, allocations: 190.5 kB / 0.8198 GB, free: 8.516 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.182e-05/0.01315, allocations: 5.25 kB / 0.8198 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01315, allocations: 4 kB / 0.8198 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.01316, allocations: 0 / 0.8198 GB, free: 8.508 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005365/0.01369, allocations: 470.3 kB / 0.8202 GB, free: 8.047 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002997/0.01399, allocations: 181.1 kB / 0.8204 GB, free: 7.844 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.794e-05/0.01406, allocations: 59.34 kB / 0.8205 GB, free: 7.766 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.191e-05/0.0141, allocations: 8.969 kB / 0.8205 GB, free: 7.758 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.01413, allocations: 13.5 kB / 0.8205 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.01413, allocations: 0 / 0.8205 GB, free: 7.746 MB / 0.7761 GB Notification: Performance of Templates: time 0.003206/0.01733, allocations: 0.6948 MB / 0.8212 GB, free: 7.07 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.87389315397013]