Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001699/0.001699, allocations: 106.9 kB / 17.08 MB, free: 5.82 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.001912/0.001912, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.434/1.434, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.683/2.683, allocations: 437.1 MB / 0.7177 GB, free: 4.562 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001927/0.001927, allocations: 67.89 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2754/0.2774, allocations: 151.6 MB / 1.176 GB, free: 5.945 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005624/0.283, allocations: 4.024 MB / 1.18 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0002029/0.2833, allocations: 151.5 kB / 1.18 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.239e-05/0.2833, allocations: 0 / 1.18 GB, free: 1.738 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.184e-05/0.2834, allocations: 3.938 kB / 1.18 GB, free: 1.734 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.745e-05/0.2835, allocations: 23.84 kB / 1.18 GB, free: 1.711 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.2838, allocations: 79.25 kB / 1.18 GB, free: 1.637 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.601e-05/0.2839, allocations: 39.78 kB / 1.18 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.2839, allocations: 4 kB / 1.18 GB, free: 1.594 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.634e-05/0.284, allocations: 12 kB / 1.18 GB, free: 1.582 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.527e-05/0.2841, allocations: 15.97 kB / 1.18 GB, free: 1.566 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.2841, allocations: 4 kB / 1.18 GB, free: 1.562 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.2843, allocations: 55.81 kB / 1.18 GB, free: 1.508 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.248e-05/0.2843, allocations: 7.938 kB / 1.18 GB, free: 1.5 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.994e-05/0.2844, allocations: 11.97 kB / 1.18 GB, free: 1.488 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.2845, allocations: 43.84 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2845, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2845, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.2845, allocations: 0 / 1.18 GB, free: 1.445 MB / 0.92 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.0003954/0.2849, allocations: 331.5 kB / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.285e-05/0.285, allocations: 12.03 kB / 1.181 GB, free: 1.062 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.832e-05/0.285, allocations: 8.875 kB / 1.181 GB, free: 1.055 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00014/0.2851, allocations: 160.4 kB / 1.181 GB, free: 0.8594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.515e-05/0.2852, allocations: 26.27 kB / 1.181 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.2852, allocations: 4.375 kB / 1.181 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001248/0.2854, allocations: 53.59 kB / 1.181 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2854, allocations: 0 / 1.181 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.467e-06/0.2854, allocations: 0 / 1.181 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.2854, allocations: 4 kB / 1.181 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.034e-05/0.2855, allocations: 23.97 kB / 1.181 GB, free: 0.7383 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004509/0.2859, allocations: 341.9 kB / 1.181 GB, free: 344 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 3.872e-05/0.286, allocations: 18.61 kB / 1.181 GB, free: 316 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.358e-05/0.286, allocations: 4.859 kB / 1.181 GB, free: 308 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.399e-05/0.2861, allocations: 85.17 kB / 1.181 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.2861, allocations: 34.56 kB / 1.181 GB, free: 160 kB / 0.92 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.2861, allocations: 0 / 1.181 GB, free: 160 kB / 0.92 GB Notification: Performance of matching and sorting (n=1): time 0.0001357/0.2863, allocations: 41.62 kB / 1.181 GB, free: 112 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.2863, allocations: 55.41 kB / 1.181 GB, free: 44 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.2864, allocations: 97.8 kB / 1.181 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2865, allocations: 25.7 kB / 1.181 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.27e-05/0.2865, allocations: 96.08 kB / 1.182 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.907e-06/0.2865, allocations: 0 / 1.182 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.2866, allocations: 21.8 kB / 1.182 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2867, allocations: 318.8 kB / 1.182 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.005e-05/0.2867, allocations: 7.984 kB / 1.182 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.364e-05/0.2868, allocations: 17.66 kB / 1.182 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.575e-05/0.2868, allocations: 21.66 kB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.2868, allocations: 3.938 kB / 1.182 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.617e-05/0.2869, allocations: 53.69 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2869, allocations: 4 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.2869, allocations: 0 / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.287, allocations: 0 / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-05/0.287, allocations: 11.94 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.287, allocations: 3.984 kB / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.633e-05/0.287, allocations: 0 / 1.182 GB, free: 15.32 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.2871, allocations: 4 kB / 1.182 GB, free: 15.32 MB / 0.9356 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 7.521e-05/0.2871, allocations: 109.8 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.2872, allocations: 4 kB / 1.182 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001282/0.2873, allocations: 124.9 kB / 1.182 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.49e-05/0.2874, allocations: 180.2 kB / 1.182 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-05/0.2875, allocations: 180.3 kB / 1.183 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.479e-05/0.2876, allocations: 184.2 kB / 1.183 GB, free: 14.5 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000266/0.2878, allocations: 413.2 kB / 1.183 GB, free: 14.04 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.444e-05/0.2879, allocations: 101 kB / 1.183 GB, free: 13.94 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.955e-05/0.2879, allocations: 104.9 kB / 1.183 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.258e-05/0.288, allocations: 180.2 kB / 1.183 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.692e-05/0.2881, allocations: 188.2 kB / 1.184 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.749e-05/0.2882, allocations: 176.3 kB / 1.184 GB, free: 13.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.662e-05/0.2883, allocations: 180.3 kB / 1.184 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000181/0.2885, allocations: 315.6 kB / 1.184 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2886, allocations: 186 kB / 1.184 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.2887, allocations: 176.3 kB / 1.185 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.2889, allocations: 113 kB / 1.185 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.479e-05/0.289, allocations: 180.2 kB / 1.185 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.289, allocations: 105 kB / 1.185 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.725e-05/0.2891, allocations: 83.28 kB / 1.185 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2891, allocations: 0 / 1.185 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002497/0.2893, allocations: 19.92 kB / 1.185 GB, free: 11.86 MB / 0.9356 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.0002672/0.2896, allocations: 202.4 kB / 1.185 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.959e-05/0.2897, allocations: 19.86 kB / 1.185 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2897, allocations: 4 kB / 1.185 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.362e-06/0.2897, allocations: 0 / 1.185 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004197/0.2901, allocations: 464.4 kB / 1.186 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002744/0.2904, allocations: 211.6 kB / 1.186 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.2907, allocations: 0.6768 MB / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.027e-05/0.2908, allocations: 7.438 kB / 1.187 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of SimCode: time 2.71e-07/0.2908, allocations: 4 kB / 1.187 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of Templates: time 0.002196/0.293, allocations: 0.7464 MB / 1.187 GB, free: 9.48 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.201489240978844]