Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.002429/0.002429, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 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.002751/0.002751, allocations: 173.6 kB / 22.76 MB, free: 1.664 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.659/1.659, allocations: 177.1 MB / 203.1 MB, free: 5.164 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.417/3.417, allocations: 429.5 MB / 0.6729 GB, free: 4 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0.6562 kB / 0.8774 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.302e-05/3.504e-05, allocations: 2.875 kB / 0.8774 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.006851/0.006886, allocations: 4.128 MB / 0.8814 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0002408/0.007127, allocations: 153.1 kB / 0.8816 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.789e-05/0.007165, allocations: 0.5 kB / 0.8816 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001182/0.007283, allocations: 3.984 kB / 0.8816 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.702e-05/0.00737, allocations: 20.89 kB / 0.8816 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003557/0.007726, allocations: 83.67 kB / 0.8817 GB, free: 2.344 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.333e-05/0.007819, allocations: 35.86 kB / 0.8817 GB, free: 2.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.007858, allocations: 3.938 kB / 0.8817 GB, free: 2.305 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.985e-05/0.007928, allocations: 23.97 kB / 0.8818 GB, free: 2.281 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.877e-05/0.008007, allocations: 7.984 kB / 0.8818 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.008027, allocations: 4 kB / 0.8818 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002234/0.00825, allocations: 59.73 kB / 0.8818 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.786e-05/0.008298, allocations: 4 kB / 0.8818 GB, free: 2.207 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.734e-05/0.008325, allocations: 15.98 kB / 0.8818 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.008514, allocations: 67.73 kB / 0.8819 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.008518, allocations: 0 / 0.8819 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.008519, allocations: 0 / 0.8819 GB, free: 2.125 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.008525, allocations: 0 / 0.8819 GB, free: 2.125 MB / 0.8386 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.0004734/0.008998, allocations: 360.2 kB / 0.8822 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.009053, allocations: 16.02 kB / 0.8823 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.009108, allocations: 0.9375 kB / 0.8823 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.009235, allocations: 112.6 kB / 0.8824 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.635e-05/0.009322, allocations: 51.97 kB / 0.8824 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/0.009336, allocations: 8.375 kB / 0.8824 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.009482, allocations: 63.89 kB / 0.8825 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.817e-06/0.009491, allocations: 192 / 0.8825 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.094e-05/0.009512, allocations: 7.938 kB / 0.8825 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.009533, allocations: 0 / 0.8825 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.05e-05/0.009584, allocations: 11.98 kB / 0.8825 GB, free: 1.422 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005011/0.01008, allocations: 259.8 kB / 0.8828 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.624e-05/0.01015, allocations: 31.05 kB / 0.8828 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.765e-05/0.01018, allocations: 15.56 kB / 0.8828 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.65e-05/0.01024, allocations: 8.062 kB / 0.8828 GB, free: 1.062 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.01027, allocations: 37.39 kB / 0.8828 GB, free: 1.016 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.11e-07/0.01027, allocations: 3.938 kB / 0.8828 GB, free: 1.012 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001537/0.01043, allocations: 41.64 kB / 0.8829 GB, free: 0.9648 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.651e-05/0.01047, allocations: 55.41 kB / 0.8829 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001318/0.0106, allocations: 161.9 kB / 0.8831 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.386e-05/0.01063, allocations: 25.7 kB / 0.8831 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.845e-05/0.01072, allocations: 134.8 kB / 0.8832 GB, free: 0.5547 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 6.893e-06/0.01072, allocations: 3.938 kB / 0.8833 GB, free: 0.5508 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.054e-05/0.01076, allocations: 23.38 kB / 0.8833 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002898/0.01105, allocations: 496.2 kB / 0.8837 GB, free: 24 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.01107, allocations: 11.92 kB / 0.8838 GB, free: 12 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.229e-05/0.01113, allocations: 19.42 kB / 0.8838 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.391e-05/0.01117, allocations: 23.38 kB / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01117, allocations: 0 / 0.8838 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.354e-05/0.01126, allocations: 61.47 kB / 0.8839 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/0.01128, allocations: 4 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.01128, allocations: 0 / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.01129, allocations: 4.062 kB / 0.8839 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.419e-05/0.01134, allocations: 8 kB / 0.8839 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.01134, allocations: 0 / 0.8839 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.01152, allocations: 3.984 kB / 0.8839 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.909e-06/0.01153, allocations: 0 / 0.8839 GB, free: 15.87 MB / 0.8542 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.0001233/0.01165, allocations: 160.6 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.01168, allocations: 3.938 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001782/0.01186, allocations: 167.7 kB / 0.8842 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001387/0.012, allocations: 272.1 kB / 0.8845 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001437/0.01214, allocations: 268 kB / 0.8847 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000152/0.01229, allocations: 272.1 kB / 0.885 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003738/0.01267, allocations: 0.492 MB / 0.8854 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.785e-05/0.01275, allocations: 148.9 kB / 0.8856 GB, free: 14.02 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.195e-05/0.01283, allocations: 144.9 kB / 0.8857 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001396/0.01297, allocations: 276 kB / 0.886 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001427/0.01311, allocations: 268.1 kB / 0.8862 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001361/0.01325, allocations: 268 kB / 0.8865 GB, free: 13.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001379/0.01338, allocations: 268.1 kB / 0.8868 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.01367, allocations: 448 kB / 0.8872 GB, free: 12.32 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.01376, allocations: 152.8 kB / 0.8873 GB, free: 12.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001711/0.01393, allocations: 287.9 kB / 0.8876 GB, free: 11.87 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.0141, allocations: 144.9 kB / 0.8877 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/0.01425, allocations: 268.1 kB / 0.888 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-05/0.01432, allocations: 148.8 kB / 0.8881 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.781e-05/0.01441, allocations: 131.2 kB / 0.8883 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01441, allocations: 0 / 0.8883 GB, free: 11.17 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002682/0.01468, allocations: 15.94 kB / 0.8883 GB, free: 11.16 MB / 0.8542 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.0002544/0.01493, allocations: 238.3 kB / 0.8885 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.858e-05/0.015, allocations: 19.67 kB / 0.8885 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.015, allocations: 8.125 kB / 0.8885 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.757e-06/0.01501, allocations: 3.938 kB / 0.8885 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000596/0.0156, allocations: 0.7028 MB / 0.8892 GB, free: 10.17 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/0.01595, allocations: 233.5 kB / 0.8894 GB, free: 9.914 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.435e-05/0.01602, allocations: 59.34 kB / 0.8895 GB, free: 9.836 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.356e-05/0.01606, allocations: 7.938 kB / 0.8895 GB, free: 9.828 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.641e-05/0.01609, allocations: 12.5 kB / 0.8895 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of SimCode: time 3.81e-07/0.01609, allocations: 0 / 0.8895 GB, free: 9.816 MB / 0.8542 GB Notification: Performance of Templates: time 0.003846/0.01994, allocations: 0.6947 MB / 0.8902 GB, free: 9.137 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_WaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.657869042013772]