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.001929/0.001929, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001455/0.001455, allocations: 192.8 kB / 22.17 MB, free: 5.652 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.499/1.499, allocations: 225.6 MB / 250.9 MB, free: 13.29 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.854/2.854, allocations: 476.7 MB / 0.7645 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 176] 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.001996/0.001996, allocations: 59.89 kB / 1.109 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8824/0.8844, allocations: 168.7 MB / 1.274 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006751/0.8912, allocations: 4.067 MB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0002326/0.8914, allocations: 155.5 kB / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.8914, allocations: 0 / 1.278 GB, free: 372 kB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.8916, allocations: 3.938 kB / 1.278 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.836e-05/0.8917, allocations: 15.92 kB / 1.278 GB, free: 352 kB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003827/0.892, allocations: 79.12 kB / 1.278 GB, free: 276 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001091/0.8921, allocations: 39.84 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.827e-05/0.8922, allocations: 0 / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 5.499e-05/0.8923, allocations: 23.91 kB / 1.278 GB, free: 212 kB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.241e-05/0.8923, allocations: 11.98 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.8923, allocations: 0 / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002282/0.8926, allocations: 59.75 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.8926, allocations: 15.98 kB / 1.278 GB, free: 124 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.292e-05/0.8927, allocations: 11.92 kB / 1.278 GB, free: 112 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.8928, allocations: 42.56 kB / 1.278 GB, free: 72 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.8928, allocations: 4 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.233e-06/0.8928, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.503e-06/0.8928, allocations: 0 / 1.278 GB, free: 68 kB / 0.9669 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.000519/0.8933, allocations: 331.5 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.8934, allocations: 8.031 kB / 1.279 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.406e-05/0.8934, allocations: 4.938 kB / 1.279 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001543/0.8936, allocations: 172.3 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.696e-05/0.8936, allocations: 26.27 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.386e-06/0.8937, allocations: 384 / 1.279 GB, free: 15.45 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.8938, allocations: 53.61 kB / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.8938, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.8938, allocations: 0 / 1.279 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.97e-05/0.8938, allocations: 3.938 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.8939, allocations: 15.98 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00053/0.8944, allocations: 334 kB / 1.279 GB, free: 14.97 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.41e-05/0.8945, allocations: 18.58 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.795e-05/0.8945, allocations: 8.859 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001003/0.8946, allocations: 81.17 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.8946, allocations: 34.56 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.8946, allocations: 3.938 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001717/0.8948, allocations: 37.69 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.8949, allocations: 51.41 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.895, allocations: 101.9 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.895, allocations: 33.62 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.05e-05/0.8951, allocations: 88.09 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.104e-05/0.8951, allocations: 11.95 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.386e-05/0.8951, allocations: 13.72 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.8953, allocations: 318.8 kB / 1.28 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.981e-05/0.8953, allocations: 12.11 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.108e-05/0.8953, allocations: 13.72 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.8954, allocations: 25.66 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.8954, allocations: 3.938 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001117/0.8955, allocations: 49.62 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.8955, allocations: 8 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8955, allocations: 4.062 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.8955, allocations: 0 / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.043e-05/0.8956, allocations: 7.984 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.8956, allocations: 0 / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.302e-05/0.8956, allocations: 8 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.8956, allocations: 288 / 1.28 GB, free: 13.95 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 0.0001012/0.8957, allocations: 114.3 kB / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.8957, allocations: 0 / 1.28 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001579/0.8959, allocations: 132.9 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-05/0.896, allocations: 176.3 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.393e-05/0.8961, allocations: 176.3 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.647e-05/0.8962, allocations: 184.2 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00044/0.8966, allocations: 405.2 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.229e-05/0.8967, allocations: 112.9 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.633e-05/0.8968, allocations: 101 kB / 1.282 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001942/0.897, allocations: 180.2 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.653e-05/0.8971, allocations: 180.2 kB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.846e-05/0.8972, allocations: 180.3 kB / 1.282 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.323e-05/0.8973, allocations: 184.2 kB / 1.282 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/0.8974, allocations: 315.6 kB / 1.283 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001006/0.8975, allocations: 178.1 kB / 1.283 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.8977, allocations: 192.2 kB / 1.283 GB, free: 11 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001817/0.8979, allocations: 108.9 kB / 1.283 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/0.898, allocations: 180.3 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/0.898, allocations: 108.9 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.48e-05/0.8981, allocations: 87.27 kB / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8981, allocations: 0 / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002658/0.8984, allocations: 12 kB / 1.283 GB, free: 10.49 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.0003506/0.8987, allocations: 202.4 kB / 1.284 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.823e-05/0.8988, allocations: 11.98 kB / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.8988, allocations: 0 / 1.284 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/0.8988, allocations: 7.875 kB / 1.284 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005094/0.8993, allocations: 469.7 kB / 1.284 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003156/0.8996, allocations: 186.1 kB / 1.284 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000368/0.9, allocations: 0.6768 MB / 1.285 GB, free: 8.891 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.9, allocations: 4 kB / 1.285 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.9001, allocations: 11.44 kB / 1.285 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of SimCode: time 2.91e-07/0.9001, allocations: 0 / 1.285 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of Templates: time 0.0033/0.9034, allocations: 0.6516 MB / 1.286 GB, free: 8.23 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 cvode -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.885833716019988]