Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001268/0.001268, allocations: 104.2 kB / 19.74 MB, free: 2.066 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.001404/0.001404, allocations: 220 kB / 23.04 MB, free: 4.844 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.413/1.413, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.072/3.072, allocations: 0.49 GB / 0.7959 GB, free: 35.43 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002052/0.002052, allocations: 65.25 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3302, allocations: 176.1 MB / 1.327 GB, free: 0.9492 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002716/0.3329, allocations: 1.387 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003834/0.3368, allocations: 2.77 MB / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.718e-05/0.3368, allocations: 0 / 1.331 GB, free: 12.77 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.029e-05/0.3369, allocations: 7.922 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.337, allocations: 39.81 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005938/0.3376, allocations: 191.1 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.3379, allocations: 243.5 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.3379, allocations: 11.92 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.606e-05/0.338, allocations: 83.88 kB / 1.332 GB, free: 12.2 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.3382, allocations: 127.7 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.291e-05/0.3382, allocations: 16 kB / 1.332 GB, free: 12.06 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003672/0.3386, allocations: 147.8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.3387, allocations: 83.83 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.3388, allocations: 83.64 kB / 1.332 GB, free: 11.75 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003728/0.3392, allocations: 279.1 kB / 1.332 GB, free: 11.48 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.3392, allocations: 3.984 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3392, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.3392, allocations: 0 / 1.332 GB, free: 11.47 MB / 1.029 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.0009033/0.3401, allocations: 473.1 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.5e-05/0.3401, allocations: 8.031 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/0.3403, allocations: 16.84 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002563/0.3405, allocations: 178.3 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.713e-05/0.3406, allocations: 24.36 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.326e-05/0.3406, allocations: 16.38 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006546/0.3412, allocations: 301.6 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.3413, allocations: 0 / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3413, allocations: 8 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.3413, allocations: 4 kB / 1.333 GB, free: 10.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.3428, allocations: 0.7217 MB / 1.334 GB, free: 9.684 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.3431, allocations: 228.8 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/0.3448, allocations: 0.6402 MB / 1.335 GB, free: 8.777 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005051/0.3453, allocations: 212.6 kB / 1.335 GB, free: 8.566 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002912/0.3456, allocations: 91.92 kB / 1.335 GB, free: 8.477 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.516e-05/0.3456, allocations: 42.5 kB / 1.335 GB, free: 8.426 MB / 1.029 GB Notification: Performance of pre-optimization done (n=37): time 1.713e-06/0.3456, allocations: 3.938 kB / 1.335 GB, free: 8.422 MB / 1.029 GB Notification: Performance of matching and sorting (n=37): time 0.001682/0.3473, allocations: 0.6468 MB / 1.336 GB, free: 7.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/0.3473, allocations: 59.41 kB / 1.336 GB, free: 7.699 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3475, allocations: 123.3 kB / 1.336 GB, free: 7.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.3475, allocations: 33.7 kB / 1.336 GB, free: 7.531 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/0.3475, allocations: 84.8 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001257/0.3477, allocations: 134.9 kB / 1.336 GB, free: 7.312 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.621e-05/0.3478, allocations: 65.69 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000163/0.3479, allocations: 330.8 kB / 1.337 GB, free: 6.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004785/0.3484, allocations: 191.8 kB / 1.337 GB, free: 6.723 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004883/0.3489, allocations: 211.6 kB / 1.337 GB, free: 6.516 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008985/0.3498, allocations: 357.1 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3498, allocations: 0 / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001102/0.3509, allocations: 468.5 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.3509, allocations: 7.938 kB / 1.338 GB, free: 5.691 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3509, allocations: 4 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3509, allocations: 0 / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003751/0.3513, allocations: 99.84 kB / 1.338 GB, free: 5.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.3513, allocations: 4 kB / 1.338 GB, free: 5.586 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.3515, allocations: 51.75 kB / 1.338 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.3515, allocations: 11.98 kB / 1.338 GB, free: 5.523 MB / 1.029 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.0001588/0.3517, allocations: 146.3 kB / 1.338 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.666e-05/0.3518, allocations: 19.84 kB / 1.338 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001259/0.353, allocations: 0.5117 MB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.353, allocations: 4 kB / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.353, allocations: 0 / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.353, allocations: 0 / 1.339 GB, free: 4.828 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000327/0.3534, allocations: 241 kB / 1.339 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3534, allocations: 0 / 1.339 GB, free: 4.562 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003436/0.3537, allocations: 95.86 kB / 1.339 GB, free: 4.469 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-06/0.3537, allocations: 4 kB / 1.339 GB, free: 4.465 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.902e-05/0.3537, allocations: 19.92 kB / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3537, allocations: 0 / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3537, allocations: 0 / 1.339 GB, free: 4.445 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3549, allocations: 0.4927 MB / 1.34 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.836e-05/0.3549, allocations: 15.84 kB / 1.34 GB, free: 3.918 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.3549, allocations: 11.94 kB / 1.34 GB, free: 3.906 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/0.3551, allocations: 39.95 kB / 1.34 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002525/0.3554, allocations: 115.8 kB / 1.34 GB, free: 3.754 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.691e-05/0.3554, allocations: 15.98 kB / 1.34 GB, free: 3.738 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.874e-05/0.3555, allocations: 98.77 kB / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3555, allocations: 0 / 1.34 GB, free: 3.645 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003939/0.3559, allocations: 131.6 kB / 1.34 GB, free: 3.516 MB / 1.029 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.0003469/0.3562, allocations: 190.9 kB / 1.34 GB, free: 3.32 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001109/0.3573, allocations: 455.2 kB / 1.341 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3573, allocations: 0 / 1.341 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0005586/0.3579, allocations: 252.3 kB / 1.341 GB, free: 2.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.3583, allocations: 71.92 kB / 1.341 GB, free: 2.559 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008023/0.3591, allocations: 457.3 kB / 1.341 GB, free: 2.078 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.3592, allocations: 118.5 kB / 1.341 GB, free: 1.941 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001316/0.3594, allocations: 51.39 kB / 1.342 GB, free: 1.891 MB / 1.029 GB Notification: Performance of SimCode: time 6.41e-07/0.3594, allocations: 0 / 1.342 GB, free: 1.891 MB / 1.029 GB Notification: Performance of Templates: time 0.007751/0.3671, allocations: 4.833 MB / 1.346 GB, free: 13.11 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.708965153200552]