Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.002497/0.002497, allocations: 85.48 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.00321/0.00321, allocations: 173.2 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.609 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.47/3.47, allocations: 429.5 MB / 0.6729 GB, free: 3.996 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.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|d.1.|d.2.|d.3.|d.4.|d.5.|d.6.|d.7.|cp.1.|cp.2.|cp.3.|cp.4.|cp.5.|cp.6.|cp.7.|lambda.1.|lambda.2.|lambda.3.|lambda.4.|lambda.5.|lambda.6.|lambda.7.|eta.1.|eta.2.|eta.3.|eta.4.|eta.5.|eta.6.|eta.7.",fileNamePrefix="Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.8774 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.09e-05/3.276e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.68 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002855/0.002888, allocations: 1.4 MB / 0.8788 GB, free: 5.293 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002114/0.005002, allocations: 1.058 MB / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.00505, allocations: 0 / 0.8798 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.938e-05/0.00515, allocations: 7.938 kB / 0.8798 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001428/0.005293, allocations: 43.73 kB / 0.8799 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.005808, allocations: 111.4 kB / 0.88 GB, free: 4.082 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.006157, allocations: 243.5 kB / 0.8802 GB, free: 3.844 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 5.03e-05/0.006208, allocations: 15.92 kB / 0.8802 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.006378, allocations: 115.8 kB / 0.8803 GB, free: 3.715 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.00655, allocations: 115.8 kB / 0.8804 GB, free: 3.602 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.006595, allocations: 12 kB / 0.8805 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003732/0.006968, allocations: 115.8 kB / 0.8806 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.007091, allocations: 87.84 kB / 0.8807 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.007209, allocations: 79.81 kB / 0.8807 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003891/0.007598, allocations: 251.3 kB / 0.881 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.007601, allocations: 0 / 0.881 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.032e-06/0.007602, allocations: 3.938 kB / 0.881 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.007607, allocations: 0 / 0.881 GB, free: 3.062 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001332/0.008939, allocations: 0.5578 MB / 0.8815 GB, free: 2.469 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.008976, allocations: 8.031 kB / 0.8815 GB, free: 2.461 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.009136, allocations: 28.84 kB / 0.8816 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.00945, allocations: 184.3 kB / 0.8817 GB, free: 2.227 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.996e-05/0.0095, allocations: 24.36 kB / 0.8818 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.009534, allocations: 16.38 kB / 0.8818 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006738/0.01021, allocations: 226 kB / 0.882 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.01022, allocations: 192 / 0.882 GB, free: 1.961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.01024, allocations: 4.375 kB / 0.882 GB, free: 1.957 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.4e-05/0.01026, allocations: 11.92 kB / 0.882 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001602/0.01186, allocations: 0.6363 MB / 0.8826 GB, free: 1.309 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003521/0.01221, allocations: 204.4 kB / 0.8828 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.01406, allocations: 0.5717 MB / 0.8834 GB, free: 500 kB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005291/0.01459, allocations: 169.8 kB / 0.8835 GB, free: 328 kB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003164/0.01491, allocations: 79.95 kB / 0.8836 GB, free: 248 kB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.818e-05/0.01495, allocations: 33.39 kB / 0.8836 GB, free: 204 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=37): time 1.623e-06/0.01495, allocations: 0 / 0.8836 GB, free: 204 kB / 0.8386 GB Notification: Performance of matching and sorting (n=37): time 0.001785/0.01673, allocations: 0.52 MB / 0.8842 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.357e-05/0.01679, allocations: 63.28 kB / 0.8842 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001598/0.01695, allocations: 193.8 kB / 0.8844 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.481e-05/0.01698, allocations: 37.64 kB / 0.8844 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.772e-05/0.01707, allocations: 135.5 kB / 0.8846 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/0.01722, allocations: 134.8 kB / 0.8847 GB, free: 15.08 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.01735, allocations: 71.33 kB / 0.8848 GB, free: 15 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000287/0.01764, allocations: 0.5001 MB / 0.8852 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004877/0.01812, allocations: 143.6 kB / 0.8854 GB, free: 14.35 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005014/0.01862, allocations: 135.9 kB / 0.8855 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009296/0.01955, allocations: 272.9 kB / 0.8858 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01956, allocations: 0 / 0.8858 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001184/0.02074, allocations: 381 kB / 0.8861 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.02076, allocations: 6.5 kB / 0.8861 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.02076, allocations: 0 / 0.8861 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.02078, allocations: 0 / 0.8861 GB, free: 13.56 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004253/0.02121, allocations: 103.8 kB / 0.8862 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.292e-05/0.02122, allocations: 7.938 kB / 0.8862 GB, free: 13.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.02144, allocations: 47.86 kB / 0.8863 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.23e-05/0.02147, allocations: 11.98 kB / 0.8863 GB, free: 13.39 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (37): * Single equations (assignments): 37 * 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.0001705/0.02164, allocations: 172.5 kB / 0.8865 GB, free: 13.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.933e-05/0.02171, allocations: 27.91 kB / 0.8865 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.02303, allocations: 442.8 kB / 0.8869 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.02304, allocations: 8 kB / 0.8869 GB, free: 12.74 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.575e-06/0.02305, allocations: 3.938 kB / 0.8869 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.134e-06/0.02306, allocations: 3.984 kB / 0.8869 GB, free: 12.73 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003194/0.02338, allocations: 204.4 kB / 0.8871 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.02338, allocations: 0 / 0.8871 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004164/0.02379, allocations: 103.8 kB / 0.8872 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.0238, allocations: 0 / 0.8872 GB, free: 12.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.02383, allocations: 15.98 kB / 0.8872 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.02384, allocations: 8 kB / 0.8873 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.02384, allocations: 0 / 0.8873 GB, free: 12.37 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001224/0.02506, allocations: 431.7 kB / 0.8877 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.751e-05/0.0251, allocations: 23.8 kB / 0.8877 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.638e-05/0.02514, allocations: 4 kB / 0.8877 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.02535, allocations: 43.95 kB / 0.8877 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003095/0.02566, allocations: 135.7 kB / 0.8879 GB, free: 11.72 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.02569, allocations: 15.94 kB / 0.8879 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.964e-05/0.02579, allocations: 143.1 kB / 0.888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02579, allocations: 0 / 0.888 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003668/0.02616, allocations: 99.86 kB / 0.8881 GB, free: 11.47 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 (37): * Single equations (assignments): 37 * 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.0003671/0.02653, allocations: 159 kB / 0.8883 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001393/0.02792, allocations: 375.2 kB / 0.8886 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.02792, allocations: 0 / 0.8886 GB, free: 10.93 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006128/0.02853, allocations: 215.4 kB / 0.8888 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.02899, allocations: 95.91 kB / 0.8889 GB, free: 10.62 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000778/0.02976, allocations: 351.1 kB / 0.8892 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001285/0.02989, allocations: 118.5 kB / 0.8894 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004097/0.0303, allocations: 165.6 kB / 0.8895 GB, free: 9.957 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.03042, allocations: 40.48 kB / 0.8896 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of SimCode: time 6.62e-07/0.03042, allocations: 0 / 0.8896 GB, free: 9.918 MB / 0.8542 GB Notification: Performance of Templates: time 0.01131/0.04174, allocations: 5.079 MB / 0.8945 GB, free: 4.957 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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.874363544979133]