Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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.0009444/0.0009444, allocations: 88.7 kB / 20.2 MB, free: 4.23 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.0009363/0.0009363, allocations: 161.3 kB / 23.51 MB, free: 0.9219 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.9145/0.9145, allocations: 177.2 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] 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 2.033/2.033, allocations: 428.5 MB / 0.6727 GB, free: 4.93 MB / 0.6355 GB " [Timeout remaining time 177] 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.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|T|h",fileNamePrefix="Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.877 GB, free: 7.949 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.715e-05, allocations: 2.312 kB / 0.877 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004259/0.004286, allocations: 3.69 MB / 0.8806 GB, free: 4.27 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.004423, allocations: 147.4 kB / 0.8808 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.834e-05/0.004452, allocations: 0 / 0.8808 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001303/0.004582, allocations: 0 / 0.8808 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.416e-05/0.004666, allocations: 7.938 kB / 0.8808 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.005003, allocations: 87.67 kB / 0.8808 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.833e-05/0.005102, allocations: 35.84 kB / 0.8809 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.005147, allocations: 0 / 0.8809 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 6.992e-05/0.005217, allocations: 27.86 kB / 0.8809 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.128e-05/0.005298, allocations: 15.97 kB / 0.8809 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.376e-05/0.005312, allocations: 0 / 0.8809 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000389/0.005701, allocations: 183.4 kB / 0.8811 GB, free: 3.773 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.409e-05/0.005745, allocations: 7.984 kB / 0.8811 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 1.973e-05/0.005765, allocations: 8 kB / 0.8811 GB, free: 3.758 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.005894, allocations: 63.8 kB / 0.8812 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.005896, allocations: 0 / 0.8812 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005897, allocations: 0 / 0.8812 GB, free: 3.695 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.829e-06/0.005902, allocations: 0 / 0.8812 GB, free: 3.695 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.0003709/0.006273, allocations: 266.2 kB / 0.8814 GB, free: 3.406 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.006308, allocations: 8.031 kB / 0.8814 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/0.006355, allocations: 4.938 kB / 0.8814 GB, free: 3.395 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.91e-05/0.006444, allocations: 105.8 kB / 0.8815 GB, free: 3.266 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.195e-05/0.006506, allocations: 59.97 kB / 0.8816 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.127e-06/0.006515, allocations: 4.359 kB / 0.8816 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001254/0.006641, allocations: 67.95 kB / 0.8817 GB, free: 3.113 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.006649, allocations: 4.172 kB / 0.8817 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.00666, allocations: 3.938 kB / 0.8817 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/0.006676, allocations: 4 kB / 0.8817 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.606e-05/0.006712, allocations: 19.92 kB / 0.8817 GB, free: 3.082 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003267/0.007039, allocations: 200.6 kB / 0.8819 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 3.789e-05/0.007077, allocations: 18.58 kB / 0.8819 GB, free: 2.828 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.257e-05/0.0071, allocations: 12.8 kB / 0.8819 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.795e-05/0.007138, allocations: 8.047 kB / 0.8819 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.971e-05/0.007157, allocations: 34.56 kB / 0.882 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=1): time 8.12e-07/0.007158, allocations: 0 / 0.882 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of matching and sorting (n=1): time 0.0001412/0.007299, allocations: 41.59 kB / 0.882 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.007328, allocations: 55.41 kB / 0.882 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.162e-05/0.00739, allocations: 101.8 kB / 0.8821 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.03e-05/0.0074, allocations: 25.7 kB / 0.8822 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.007439, allocations: 92.09 kB / 0.8823 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-06/0.007443, allocations: 128 / 0.8823 GB, free: 2.414 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.007467, allocations: 21.7 kB / 0.8823 GB, free: 2.387 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.811e-05/0.007545, allocations: 314.8 kB / 0.8826 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.007555, allocations: 4 kB / 0.8826 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.714e-05/0.007572, allocations: 13.72 kB / 0.8826 GB, free: 2.047 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.98e-05/0.007602, allocations: 33.64 kB / 0.8826 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.007604, allocations: 0 / 0.8826 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.063e-05/0.007654, allocations: 53.53 kB / 0.8827 GB, free: 1.949 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/0.007667, allocations: 11.98 kB / 0.8827 GB, free: 1.938 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.007672, allocations: 4.062 kB / 0.8827 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.007683, allocations: 0 / 0.8827 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.728e-05/0.00772, allocations: 4 kB / 0.8827 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.007725, allocations: 0 / 0.8827 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.284e-05/0.007738, allocations: 7.938 kB / 0.8827 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.007746, allocations: 0 / 0.8827 GB, free: 1.922 MB / 0.8386 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.845e-05/0.007795, allocations: 109.8 kB / 0.8828 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.007808, allocations: 3.938 kB / 0.8828 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-05/0.007894, allocations: 124.9 kB / 0.8829 GB, free: 1.672 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/0.007933, allocations: 180.3 kB / 0.8831 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.941e-05/0.007972, allocations: 180.3 kB / 0.8833 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.617e-05/0.008018, allocations: 184.2 kB / 0.8835 GB, free: 1.117 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.00815, allocations: 352.9 kB / 0.8838 GB, free: 0.7344 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-05/0.008175, allocations: 104.9 kB / 0.8839 GB, free: 0.625 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.807e-05/0.008203, allocations: 113 kB / 0.884 GB, free: 0.5078 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.216e-05/0.008245, allocations: 180.2 kB / 0.8842 GB, free: 332 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.542e-05/0.00829, allocations: 184.2 kB / 0.8843 GB, free: 140 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.194e-05/0.008342, allocations: 180.3 kB / 0.8845 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-05/0.008384, allocations: 180.2 kB / 0.8847 GB, free: 15.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.205e-05/0.008476, allocations: 303.8 kB / 0.885 GB, free: 15.45 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.546e-05/0.008512, allocations: 120.9 kB / 0.8851 GB, free: 15.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.217e-05/0.008564, allocations: 176.3 kB / 0.8853 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.674e-05/0.00866, allocations: 116.9 kB / 0.8854 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.71e-05/0.008708, allocations: 176.3 kB / 0.8855 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001912/0.008899, allocations: 108.9 kB / 0.8856 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.008934, allocations: 87.27 kB / 0.8857 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.008934, allocations: 0 / 0.8857 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001706/0.009104, allocations: 15.94 kB / 0.8857 GB, free: 14.63 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.0001356/0.00924, allocations: 190.5 kB / 0.8859 GB, free: 14.43 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.729e-05/0.009307, allocations: 12 kB / 0.8859 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.00931, allocations: 4 kB / 0.8859 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 8.32e-07/0.00931, allocations: 0 / 0.8859 GB, free: 14.41 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000297/0.009607, allocations: 471.2 kB / 0.8864 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002139/0.009821, allocations: 180.4 kB / 0.8866 GB, free: 13.75 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.126e-05/0.009863, allocations: 55.64 kB / 0.8866 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.887e-05/0.009891, allocations: 8.125 kB / 0.8866 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.926e-05/0.009911, allocations: 20.47 kB / 0.8866 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.009911, allocations: 3.938 kB / 0.8866 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of Templates: time 0.002044/0.01196, allocations: 0.69 MB / 0.8873 GB, free: 12.97 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=800 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.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: 5.256857791915536]