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.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.0008288/0.0008288, allocations: 76.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.0008335/0.0008335, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8805/0.8805, allocations: 177.1 MB / 203.5 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.631/1.631, allocations: 359 MB / 0.6044 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_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 1.623e-06/1.623e-06, allocations: 0 / 0.9517 GB, free: 3.043 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.763e-05/2.926e-05, allocations: 6.281 kB / 0.9517 GB, free: 3.035 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005986/0.006015, allocations: 3.901 MB / 0.9555 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.000146/0.006161, allocations: 147.4 kB / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.795e-05/0.006189, allocations: 0 / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.006305, allocations: 0 / 0.9556 GB, free: 14.95 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 7.547e-05/0.00638, allocations: 19.86 kB / 0.9557 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002949/0.006675, allocations: 90.78 kB / 0.9557 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 7.904e-05/0.006754, allocations: 35.86 kB / 0.9558 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.15e-05/0.006795, allocations: 0 / 0.9558 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 5.181e-05/0.006847, allocations: 27.91 kB / 0.9558 GB, free: 14.79 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.006912, allocations: 7.984 kB / 0.9558 GB, free: 14.78 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.646e-05/0.006928, allocations: 4 kB / 0.9558 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.007076, allocations: 55.69 kB / 0.9559 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 4.778e-05/0.007124, allocations: 7.984 kB / 0.9559 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.06e-05/0.007144, allocations: 8 kB / 0.9559 GB, free: 14.7 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.007277, allocations: 67.78 kB / 0.956 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.00728, allocations: 4 kB / 0.956 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.433e-06/0.007282, allocations: 0 / 0.956 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.907e-06/0.007286, allocations: 0 / 0.956 GB, free: 14.63 MB / 0.9167 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.0003321/0.007618, allocations: 258.3 kB / 0.9562 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.007652, allocations: 12.03 kB / 0.9562 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.825e-05/0.00769, allocations: 0.9375 kB / 0.9562 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.717e-05/0.007768, allocations: 105.8 kB / 0.9563 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.566e-05/0.007823, allocations: 55.95 kB / 0.9564 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.007832, allocations: 4.359 kB / 0.9564 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.007945, allocations: 75.89 kB / 0.9564 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.007953, allocations: 4.188 kB / 0.9564 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.007963, allocations: 3.938 kB / 0.9565 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.007979, allocations: 0 / 0.9565 GB, free: 14.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.631e-05/0.008015, allocations: 19.98 kB / 0.9565 GB, free: 14.03 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000329/0.008344, allocations: 204.6 kB / 0.9567 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 3.432e-05/0.008379, allocations: 18.58 kB / 0.9567 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.277e-05/0.008392, allocations: 8.797 kB / 0.9567 GB, free: 13.76 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 3.828e-05/0.00843, allocations: 12.05 kB / 0.9567 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.927e-05/0.008449, allocations: 34.5 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=1): time 1.432e-06/0.008451, allocations: 4 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of matching and sorting (n=1): time 0.0001156/0.008566, allocations: 33.7 kB / 0.9568 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.663e-05/0.008593, allocations: 55.41 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.831e-05/0.008651, allocations: 101.8 kB / 0.9569 GB, free: 13.48 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.008662, allocations: 25.7 kB / 0.9569 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.528e-05/0.008697, allocations: 88.09 kB / 0.957 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.788e-06/0.008701, allocations: 0 / 0.957 GB, free: 13.36 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.351e-05/0.008724, allocations: 17.67 kB / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.232e-05/0.008796, allocations: 322.8 kB / 0.9574 GB, free: 13.02 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.088e-06/0.008806, allocations: 3.938 kB / 0.9574 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.846e-05/0.008824, allocations: 21.78 kB / 0.9574 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.825e-05/0.008852, allocations: 29.7 kB / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.008854, allocations: 0 / 0.9574 GB, free: 12.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.656e-05/0.008901, allocations: 49.58 kB / 0.9575 GB, free: 12.89 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.008913, allocations: 14.44 kB / 0.9575 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.008918, allocations: 3.984 kB / 0.9575 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.008929, allocations: 0 / 0.9575 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.286e-05/0.008962, allocations: 4 kB / 0.9575 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.008966, allocations: 0 / 0.9575 GB, free: 12.88 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.008978, allocations: 12 kB / 0.9575 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.744e-06/0.008985, allocations: 0 / 0.9575 GB, free: 12.86 MB / 0.9167 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 4.901e-05/0.009034, allocations: 109.8 kB / 0.9576 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.00905, allocations: 3.938 kB / 0.9576 GB, free: 12.74 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.644e-05/0.009136, allocations: 128.9 kB / 0.9577 GB, free: 12.61 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.87e-05/0.009175, allocations: 180.3 kB / 0.9579 GB, free: 12.42 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.995e-05/0.009215, allocations: 184.2 kB / 0.9581 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.724e-05/0.009252, allocations: 176.3 kB / 0.9582 GB, free: 12.05 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.009373, allocations: 356.9 kB / 0.9586 GB, free: 11.67 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.63e-05/0.009409, allocations: 108.9 kB / 0.9587 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.041e-05/0.009429, allocations: 105 kB / 0.9588 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.236e-05/0.009482, allocations: 188.1 kB / 0.959 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.612e-05/0.009518, allocations: 176.3 kB / 0.9591 GB, free: 11.07 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.607e-05/0.009584, allocations: 184.3 kB / 0.9593 GB, free: 10.89 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.449e-05/0.009618, allocations: 180.2 kB / 0.9595 GB, free: 10.7 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.533e-05/0.009704, allocations: 307.7 kB / 0.9598 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.00973, allocations: 109.2 kB / 0.9599 GB, free: 10.27 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.381e-05/0.009784, allocations: 180.3 kB / 0.96 GB, free: 10.08 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.403e-05/0.009878, allocations: 112.9 kB / 0.9602 GB, free: 9.965 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.009978, allocations: 188.2 kB / 0.9603 GB, free: 9.773 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.01, allocations: 108.9 kB / 0.9604 GB, free: 9.66 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.123e-05/0.01004, allocations: 87.28 kB / 0.9605 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.01004, allocations: 0 / 0.9605 GB, free: 9.574 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001529/0.01019, allocations: 19.92 kB / 0.9605 GB, free: 9.555 MB / 0.9167 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.0001412/0.01033, allocations: 190.5 kB / 0.9607 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 5.7e-05/0.01039, allocations: 8.312 kB / 0.9607 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01039, allocations: 0 / 0.9607 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 8.52e-07/0.01039, allocations: 0 / 0.9607 GB, free: 9.348 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.01069, allocations: 471.7 kB / 0.9612 GB, free: 8.883 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000213/0.0109, allocations: 205.8 kB / 0.9614 GB, free: 8.648 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.697e-05/0.01095, allocations: 63.28 kB / 0.9614 GB, free: 8.566 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/0.01097, allocations: 8.5 kB / 0.9614 GB, free: 8.559 MB / 0.9167 GB Notification: Performance of SimCode: time 4.01e-07/0.01097, allocations: 4 kB / 0.9614 GB, free: 8.555 MB / 0.9167 GB Notification: Performance of Templates: time 0.001646/0.01262, allocations: 0.732 MB / 0.9622 GB, free: 7.824 MB / 0.9167 GB " [Timeout remaining time 300] 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 6.215749096125364]