Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.002335/0.002335, allocations: 75.7 kB / 20.23 MB, free: 4.195 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.002886/0.002886, allocations: 157.3 kB / 23.55 MB, free: 0.8789 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.63/1.63, allocations: 177.1 MB / 203.9 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 2.875/2.875, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.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_11_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_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.078e-05/3.233e-05, allocations: 6.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002765/0.002797, allocations: 1.418 MB / 0.7877 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004714/0.007511, allocations: 2.978 MB / 0.7907 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.897e-05/0.00755, allocations: 0.7188 kB / 0.7907 GB, free: 8.434 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000109/0.007659, allocations: 15.86 kB / 0.7907 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001262/0.007785, allocations: 36.34 kB / 0.7907 GB, free: 8.383 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006749/0.00846, allocations: 192.6 kB / 0.7909 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003108/0.008771, allocations: 240.1 kB / 0.7911 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.782e-05/0.008808, allocations: 9.156 kB / 0.7911 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.00898, allocations: 123.8 kB / 0.7912 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001904/0.00917, allocations: 119.8 kB / 0.7914 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.265e-05/0.009213, allocations: 12 kB / 0.7914 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004205/0.009633, allocations: 148.8 kB / 0.7915 GB, free: 7.559 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.00976, allocations: 95.8 kB / 0.7916 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.009873, allocations: 67.88 kB / 0.7917 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005012/0.01037, allocations: 312.4 kB / 0.792 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.01038, allocations: 0 / 0.792 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01038, allocations: 0 / 0.792 GB, free: 7.094 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.01038, allocations: 1.75 kB / 0.792 GB, free: 7.094 MB / 0.7448 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.001058/0.01144, allocations: 0.5664 MB / 0.7925 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.01148, allocations: 9.594 kB / 0.7925 GB, free: 6.484 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001715/0.01165, allocations: 28.84 kB / 0.7926 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003303/0.01198, allocations: 188.3 kB / 0.7927 GB, free: 6.246 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.432e-05/0.01204, allocations: 24.36 kB / 0.7928 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.148e-05/0.01207, allocations: 17.44 kB / 0.7928 GB, free: 6.207 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006651/0.01273, allocations: 233 kB / 0.793 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.01275, allocations: 192 / 0.793 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.655e-05/0.01277, allocations: 12.11 kB / 0.793 GB, free: 5.965 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.01278, allocations: 4 kB / 0.793 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.01437, allocations: 0.6329 MB / 0.7936 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.01472, allocations: 204.4 kB / 0.7938 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.01654, allocations: 0.5699 MB / 0.7944 GB, free: 4.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005215/0.01707, allocations: 165.9 kB / 0.7945 GB, free: 4.355 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003162/0.01738, allocations: 79.89 kB / 0.7946 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.908e-05/0.01742, allocations: 41.39 kB / 0.7947 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.362e-06/0.01742, allocations: 0 / 0.7947 GB, free: 4.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.001748/0.01917, allocations: 0.5255 MB / 0.7952 GB, free: 3.703 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.196e-05/0.01922, allocations: 59.34 kB / 0.7952 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002927/0.01951, allocations: 188.4 kB / 0.7954 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.541e-05/0.01955, allocations: 30.23 kB / 0.7954 GB, free: 3.398 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.753e-05/0.01964, allocations: 139.5 kB / 0.7956 GB, free: 3.258 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/0.01978, allocations: 132.2 kB / 0.7957 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.01992, allocations: 67.34 kB / 0.7958 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002823/0.0202, allocations: 0.5079 MB / 0.7963 GB, free: 2.535 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004771/0.02067, allocations: 141.4 kB / 0.7964 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004823/0.02116, allocations: 137.1 kB / 0.7965 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009001/0.02206, allocations: 267.6 kB / 0.7968 GB, free: 2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.02206, allocations: 0 / 0.7968 GB, free: 2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001128/0.02319, allocations: 384.7 kB / 0.7971 GB, free: 1.617 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.0232, allocations: 4 kB / 0.7971 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.02321, allocations: 0 / 0.7971 GB, free: 1.613 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/0.02323, allocations: 8 kB / 0.7972 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004213/0.02365, allocations: 107.8 kB / 0.7973 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.02366, allocations: 0 / 0.7973 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.02388, allocations: 47.84 kB / 0.7973 GB, free: 1.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.734e-05/0.02392, allocations: 23.97 kB / 0.7973 GB, free: 1.43 MB / 0.7448 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.0001523/0.02407, allocations: 168.5 kB / 0.7975 GB, free: 1.254 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.554e-05/0.02414, allocations: 23.91 kB / 0.7975 GB, free: 1.23 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.0254, allocations: 434.4 kB / 0.7979 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.0254, allocations: 8 kB / 0.7979 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.02541, allocations: 11.88 kB / 0.7979 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.02542, allocations: 0 / 0.7979 GB, free: 0.7812 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.02571, allocations: 200.4 kB / 0.7981 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02571, allocations: 0 / 0.7981 GB, free: 0.5508 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003945/0.0261, allocations: 99.86 kB / 0.7982 GB, free: 464 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.02611, allocations: 4 kB / 0.7982 GB, free: 460 kB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.02614, allocations: 11.98 kB / 0.7982 GB, free: 448 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.02614, allocations: 4 kB / 0.7982 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.02615, allocations: 0 / 0.7982 GB, free: 444 kB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.02736, allocations: 455.9 kB / 0.7987 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 2.847e-05/0.02739, allocations: 15.84 kB / 0.7987 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.221e-05/0.02743, allocations: 8 kB / 0.7987 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002022/0.02763, allocations: 39.95 kB / 0.7987 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/0.02793, allocations: 135.7 kB / 0.7989 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.961e-05/0.02796, allocations: 11.98 kB / 0.7989 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 9.716e-05/0.02806, allocations: 140.7 kB / 0.799 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02806, allocations: 0 / 0.799 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004005/0.02846, allocations: 127.7 kB / 0.7991 GB, free: 15.49 MB / 0.7605 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.0003938/0.02885, allocations: 190.8 kB / 0.7993 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001124/0.02998, allocations: 367.1 kB / 0.7997 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02998, allocations: 0 / 0.7997 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0005858/0.03057, allocations: 220.3 kB / 0.7999 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004599/0.03103, allocations: 97.39 kB / 0.8 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007609/0.03179, allocations: 359.5 kB / 0.8003 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001233/0.03191, allocations: 118.5 kB / 0.8004 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004062/0.03232, allocations: 163.8 kB / 0.8006 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.03243, allocations: 40.48 kB / 0.8006 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of SimCode: time 6.71e-07/0.03243, allocations: 0 / 0.8006 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of Templates: time 0.01206/0.04448, allocations: 5.515 MB / 0.806 GB, free: 8.527 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.303372839000076]