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.001362/0.001362, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001447/0.001447, allocations: 209.8 kB / 23.01 MB, free: 4.566 MB / 14.72 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.814/2.814, allocations: 476.7 MB / 0.7714 GB, free: 4.27 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 69.16 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/0.2842, allocations: 170 MB / 1.285 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.00266/0.2869, allocations: 1.413 MB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004105/0.291, allocations: 3.001 MB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.331e-05/0.291, allocations: 3.938 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.807e-05/0.2911, allocations: 7.922 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001228/0.2912, allocations: 39.81 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006126/0.2918, allocations: 203.1 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002903/0.2921, allocations: 235.5 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.044e-05/0.2922, allocations: 3.984 kB / 1.289 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.2923, allocations: 95.86 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001742/0.2924, allocations: 127.7 kB / 1.29 GB, free: 6.051 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.052e-05/0.2925, allocations: 12 kB / 1.29 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003988/0.2929, allocations: 147.7 kB / 1.29 GB, free: 5.895 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.293, allocations: 91.77 kB / 1.29 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001087/0.2931, allocations: 87.64 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003949/0.2935, allocations: 279.1 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2935, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.553e-06/0.2935, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.2935, allocations: 0 / 1.29 GB, free: 5.445 MB / 0.9825 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.0008601/0.2943, allocations: 469.2 kB / 1.291 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2944, allocations: 12.03 kB / 1.291 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.2945, allocations: 20.84 kB / 1.291 GB, free: 4.926 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.2948, allocations: 190.1 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.997e-05/0.2948, allocations: 24.36 kB / 1.291 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.2949, allocations: 12.38 kB / 1.291 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006401/0.2955, allocations: 295.1 kB / 1.291 GB, free: 4.387 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.2955, allocations: 3.938 kB / 1.291 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.334e-05/0.2955, allocations: 4 kB / 1.291 GB, free: 4.379 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.2956, allocations: 4 kB / 1.291 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001467/0.297, allocations: 0.7488 MB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.2974, allocations: 280.4 kB / 1.292 GB, free: 3.309 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.299, allocations: 0.6364 MB / 1.293 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004957/0.2995, allocations: 212.7 kB / 1.293 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002869/0.2998, allocations: 80.88 kB / 1.293 GB, free: 2.367 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/0.2998, allocations: 42.5 kB / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.2998, allocations: 0 / 1.293 GB, free: 2.316 MB / 0.9825 GB Notification: Performance of matching and sorting (n=37): time 0.001649/0.3015, allocations: 0.6564 MB / 1.294 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.3015, allocations: 55.41 kB / 1.294 GB, free: 1.586 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.3017, allocations: 133.9 kB / 1.294 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.375e-05/0.3017, allocations: 37.7 kB / 1.294 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.066e-05/0.3018, allocations: 84.8 kB / 1.294 GB, free: 1.32 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.3019, allocations: 134.8 kB / 1.294 GB, free: 1.188 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.302, allocations: 65.69 kB / 1.294 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.3022, allocations: 330.8 kB / 1.295 GB, free: 0.7852 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004851/0.3026, allocations: 195.6 kB / 1.295 GB, free: 0.5938 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004901/0.3031, allocations: 197 kB / 1.295 GB, free: 412 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000888/0.304, allocations: 368.6 kB / 1.295 GB, free: 40 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.304, allocations: 0 / 1.295 GB, free: 40 kB / 0.9825 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001125/0.3051, allocations: 465 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.3052, allocations: 4 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.3052, allocations: 0 / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.3052, allocations: 4 kB / 1.296 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003774/0.3056, allocations: 95.86 kB / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.3056, allocations: 3.984 kB / 1.296 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001826/0.3058, allocations: 51.75 kB / 1.296 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.787e-05/0.3058, allocations: 15.98 kB / 1.296 GB, free: 15.4 MB / 0.9981 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.0001503/0.3059, allocations: 145.8 kB / 1.296 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.322e-05/0.306, allocations: 23.78 kB / 1.296 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.3072, allocations: 0.5139 MB / 1.297 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.864e-06/0.3072, allocations: 7.984 kB / 1.297 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3072, allocations: 0 / 1.297 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3072, allocations: 0 / 1.297 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003448/0.3075, allocations: 288.3 kB / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3075, allocations: 0 / 1.297 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003309/0.3079, allocations: 107.8 kB / 1.297 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3079, allocations: 0 / 1.297 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.3079, allocations: 15.98 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3079, allocations: 4 kB / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3079, allocations: 0 / 1.297 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.309, allocations: 0.4886 MB / 1.297 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.617e-05/0.309, allocations: 23.72 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.345e-05/0.3091, allocations: 8 kB / 1.297 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001751/0.3092, allocations: 39.95 kB / 1.298 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002235/0.3095, allocations: 115.8 kB / 1.298 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.3095, allocations: 15.98 kB / 1.298 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.036e-05/0.3096, allocations: 95.27 kB / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3096, allocations: 0 / 1.298 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003945/0.31, allocations: 115.8 kB / 1.298 GB, free: 13.33 MB / 0.9981 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.0003496/0.3103, allocations: 198.8 kB / 1.298 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001086/0.3114, allocations: 459.4 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3114, allocations: 3.938 kB / 1.298 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005465/0.312, allocations: 239.7 kB / 1.299 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000411/0.3124, allocations: 78.28 kB / 1.299 GB, free: 12.37 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000862/0.3132, allocations: 472.5 kB / 1.299 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003999/0.3136, allocations: 0.7289 MB / 1.3 GB, free: 11.12 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001352/0.3138, allocations: 47.41 kB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of SimCode: time 6.21e-07/0.3138, allocations: 4 kB / 1.3 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of Templates: time 0.008045/0.3218, allocations: 4.771 MB / 1.305 GB, free: 6.359 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] 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/jenkins1/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: 11.658459158992628]