Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001378/0.001378, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001644/0.001644, allocations: 196.8 kB / 16.14 MB, free: 6.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.623/2.623, allocations: 437 MB / 0.7099 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 0.8685 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7848/0.7861, allocations: 151.6 MB / 1.017 GB, free: 2.781 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.002453/0.7886, allocations: 1.445 MB / 1.018 GB, free: 1.328 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003361/0.792, allocations: 2.906 MB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.792, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.157e-05/0.7921, allocations: 7.922 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001212/0.7922, allocations: 43.81 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004825/0.7927, allocations: 163.4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000293/0.793, allocations: 335.3 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.962e-05/0.7931, allocations: 4 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.608e-05/0.7932, allocations: 91.84 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001407/0.7933, allocations: 135.7 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/0.7934, allocations: 12 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003853/0.7938, allocations: 155.8 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.714e-05/0.7939, allocations: 87.75 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001081/0.794, allocations: 99.56 kB / 1.022 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003605/0.7943, allocations: 269.2 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7944, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.001e-06/0.7944, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.7944, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 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.0008228/0.7952, allocations: 0.5301 MB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.7953, allocations: 8.031 kB / 1.023 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.7954, allocations: 20.75 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/0.7956, allocations: 236 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.361e-05/0.7957, allocations: 24.36 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.7957, allocations: 20.38 kB / 1.023 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.7963, allocations: 289.2 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.7964, allocations: 0 / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.7964, allocations: 8 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.7964, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.7978, allocations: 0.749 MB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/0.7982, allocations: 313 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.7997, allocations: 0.6688 MB / 1.025 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004671/0.8002, allocations: 232.7 kB / 1.025 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003825/0.8006, allocations: 392.3 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.727e-05/0.8007, allocations: 38.5 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.493e-06/0.8007, allocations: 0 / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001484/0.8021, allocations: 0.6612 MB / 1.026 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.528e-05/0.8022, allocations: 55.41 kB / 1.026 GB, free: 8.562 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.8023, allocations: 126.1 kB / 1.026 GB, free: 8.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.885e-05/0.8023, allocations: 33.7 kB / 1.026 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.8024, allocations: 84.8 kB / 1.027 GB, free: 8.305 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001439/0.8025, allocations: 126.2 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001039/0.8027, allocations: 69.69 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.8028, allocations: 326.8 kB / 1.027 GB, free: 7.777 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000431/0.8032, allocations: 195.8 kB / 1.027 GB, free: 7.586 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004423/0.8037, allocations: 200.8 kB / 1.027 GB, free: 7.391 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008176/0.8045, allocations: 360.9 kB / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.8045, allocations: 0 / 1.028 GB, free: 7.035 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001009/0.8055, allocations: 472.5 kB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.8056, allocations: 4 kB / 1.028 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.8056, allocations: 0 / 1.028 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.8056, allocations: 4 kB / 1.028 GB, free: 6.559 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003515/0.8059, allocations: 95.84 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.806, allocations: 7.938 kB / 1.028 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001881/0.8062, allocations: 51.66 kB / 1.028 GB, free: 6.406 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.928e-05/0.8062, allocations: 15.98 kB / 1.028 GB, free: 6.391 MB / 0.7794 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.0001243/0.8063, allocations: 138.3 kB / 1.029 GB, free: 6.246 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.8064, allocations: 23.75 kB / 1.029 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.8075, allocations: 0.5102 MB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.8076, allocations: 4 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.757e-06/0.8076, allocations: 8 kB / 1.029 GB, free: 5.695 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.8076, allocations: 3.984 kB / 1.029 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000335/0.8079, allocations: 317.3 kB / 1.029 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.8079, allocations: 0 / 1.029 GB, free: 5.332 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003232/0.8083, allocations: 95.8 kB / 1.029 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8083, allocations: 0 / 1.029 GB, free: 5.238 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.936e-05/0.8083, allocations: 11.98 kB / 1.029 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.322e-06/0.8083, allocations: 7.922 kB / 1.029 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.8083, allocations: 4 kB / 1.029 GB, free: 5.215 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.8093, allocations: 0.4964 MB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.8094, allocations: 96.8 kB / 1.03 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.8094, allocations: 8 kB / 1.03 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001553/0.8096, allocations: 35.95 kB / 1.03 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000228/0.8098, allocations: 115.8 kB / 1.03 GB, free: 4.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.681e-05/0.8099, allocations: 15.98 kB / 1.03 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001197/0.81, allocations: 99.27 kB / 1.03 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.81, allocations: 0 / 1.03 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003953/0.8104, allocations: 119.9 kB / 1.03 GB, free: 4.199 MB / 0.7794 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.0003948/0.8108, allocations: 187.1 kB / 1.031 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009751/0.8118, allocations: 467.3 kB / 1.031 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.8118, allocations: 4 kB / 1.031 GB, free: 3.547 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005046/0.8123, allocations: 263.4 kB / 1.031 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.8127, allocations: 73.59 kB / 1.031 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007521/0.8135, allocations: 488.1 kB / 1.032 GB, free: 2.715 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.8138, allocations: 0.7292 MB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004215/0.8142, allocations: 185.3 kB / 1.033 GB, free: 1.781 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.676e-05/0.8143, allocations: 39.36 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of SimCode: time 4.41e-07/0.8143, allocations: 4 kB / 1.033 GB, free: 1.738 MB / 0.7794 GB Notification: Performance of Templates: time 0.008992/0.8233, allocations: 4.872 MB / 1.038 GB, free: 12.93 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches