Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00197/0.00197, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002214/0.002214, allocations: 201.8 kB / 22.17 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.45/1.45, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 71.88 kB / 1.109 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7494/0.7514, allocations: 168.7 MB / 1.274 GB, free: 4.445 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005729/0.7572, allocations: 4.055 MB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002213/0.7574, allocations: 159.5 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.579e-05/0.7574, allocations: 3.938 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001083/0.7575, allocations: 3.984 kB / 1.278 GB, free: 204 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.7576, allocations: 11.92 kB / 1.278 GB, free: 192 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.7579, allocations: 85.19 kB / 1.278 GB, free: 108 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.425e-05/0.758, allocations: 39.83 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 5.26e-05/0.7581, allocations: 4 kB / 1.278 GB, free: 64 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 4.121e-05/0.7581, allocations: 12 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.942e-05/0.7582, allocations: 15.91 kB / 1.278 GB, free: 36 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.7582, allocations: 4 kB / 1.278 GB, free: 32 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002047/0.7584, allocations: 55.81 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.791e-05/0.7585, allocations: 11.92 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.7585, allocations: 11.98 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001303/0.7586, allocations: 42.58 kB / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.7586, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.733e-06/0.7586, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.801e-06/0.7586, allocations: 0 / 1.278 GB, free: 15.91 MB / 0.9825 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.0004491/0.7591, allocations: 335.5 kB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.498e-05/0.7591, allocations: 8.031 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.289e-05/0.7591, allocations: 4.938 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.7593, allocations: 176.3 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.423e-05/0.7594, allocations: 26.27 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.7594, allocations: 4.375 kB / 1.279 GB, free: 15.28 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.7595, allocations: 49.55 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7595, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.7595, allocations: 8 kB / 1.279 GB, free: 15.22 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.794e-05/0.7596, allocations: 4 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.595e-05/0.7596, allocations: 15.97 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004699/0.7601, allocations: 334 kB / 1.279 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 4.122e-05/0.7601, allocations: 14.58 kB / 1.279 GB, free: 14.78 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.546e-05/0.7601, allocations: 8.797 kB / 1.279 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.991e-05/0.7602, allocations: 89.17 kB / 1.279 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.7603, allocations: 38.55 kB / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.7603, allocations: 0 / 1.279 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.7604, allocations: 33.7 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.7605, allocations: 51.41 kB / 1.28 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.945e-05/0.7605, allocations: 101.8 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.7606, allocations: 25.7 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.847e-05/0.7606, allocations: 96.22 kB / 1.28 GB, free: 14.28 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.643e-06/0.7606, allocations: 7.891 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.7607, allocations: 21.72 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.7608, allocations: 318.8 kB / 1.28 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.844e-05/0.7608, allocations: 7.938 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.801e-05/0.7608, allocations: 21.66 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.599e-05/0.7609, allocations: 21.7 kB / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7609, allocations: 0 / 1.28 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.155e-05/0.761, allocations: 49.64 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.761, allocations: 4 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.761, allocations: 0 / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.761, allocations: 3.984 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.364e-05/0.761, allocations: 8 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.761, allocations: 3.984 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.737e-05/0.7611, allocations: 0 / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.7611, allocations: 4.062 kB / 1.28 GB, free: 13.78 MB / 0.9825 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.794e-05/0.7612, allocations: 118.3 kB / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.637e-05/0.7612, allocations: 0 / 1.28 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001148/0.7613, allocations: 120.9 kB / 1.28 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.878e-05/0.7614, allocations: 176.3 kB / 1.281 GB, free: 13.35 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.996e-05/0.7615, allocations: 188.2 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.335e-05/0.7615, allocations: 180.3 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002824/0.7618, allocations: 409.1 kB / 1.281 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.303e-05/0.7619, allocations: 109 kB / 1.281 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.328e-05/0.7619, allocations: 101 kB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.555e-05/0.762, allocations: 180.2 kB / 1.282 GB, free: 12.11 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-05/0.7621, allocations: 184.3 kB / 1.282 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.53e-05/0.7621, allocations: 180.2 kB / 1.282 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.709e-05/0.7622, allocations: 176.3 kB / 1.282 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001746/0.7624, allocations: 315.6 kB / 1.283 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 9.347e-05/0.7625, allocations: 186.1 kB / 1.283 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.7626, allocations: 192.1 kB / 1.283 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.7627, allocations: 113 kB / 1.283 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.7628, allocations: 176.3 kB / 1.283 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.7629, allocations: 104.9 kB / 1.283 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.414e-05/0.7629, allocations: 83.27 kB / 1.283 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.7629, allocations: 0 / 1.283 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002398/0.7632, allocations: 23.94 kB / 1.283 GB, free: 10.32 MB / 0.9825 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.0002738/0.7634, allocations: 202.4 kB / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.392e-05/0.7635, allocations: 4 kB / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.7635, allocations: 0 / 1.284 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.727e-06/0.7635, allocations: 3.938 kB / 1.284 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004315/0.7639, allocations: 465.7 kB / 1.284 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.7642, allocations: 181.9 kB / 1.284 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003014/0.7645, allocations: 0.6768 MB / 1.285 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.864e-05/0.7646, allocations: 15.88 kB / 1.285 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.005e-05/0.7646, allocations: 7.438 kB / 1.285 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.7646, allocations: 0 / 1.285 GB, free: 8.715 MB / 0.9825 GB Notification: Performance of Templates: time 0.003187/0.7678, allocations: 0.6486 MB / 1.286 GB, free: 8.074 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.560409443918616]