Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.EthyleneGlycolWater,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_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater,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_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001525/0.001525, allocations: 194.5 kB / 16.25 MB, free: 6.629 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.386/1.386, allocations: 222.9 MB / 239.9 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.477/2.477, allocations: 390.2 MB / 0.6643 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 64.09 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7104/0.7118, allocations: 140.3 MB / 0.9491 GB, free: 9.414 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002251/0.714, allocations: 1.454 MB / 0.9505 GB, free: 8.258 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.717, allocations: 2.889 MB / 0.9533 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.919e-05/0.717, allocations: 5.125 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 8.532e-05/0.7172, allocations: 0 / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001077/0.7173, allocations: 45.91 kB / 0.9534 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005087/0.7178, allocations: 168.8 kB / 0.9535 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002163/0.718, allocations: 240.5 kB / 0.9538 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.078e-05/0.7181, allocations: 3.094 kB / 0.9538 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.96e-05/0.7182, allocations: 94.72 kB / 0.9539 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001299/0.7183, allocations: 139.8 kB / 0.954 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.125e-05/0.7183, allocations: 14.83 kB / 0.954 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003372/0.7187, allocations: 148.4 kB / 0.9541 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.072e-05/0.7188, allocations: 85.67 kB / 0.9542 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/0.7189, allocations: 86.64 kB / 0.9543 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003046/0.7192, allocations: 274.5 kB / 0.9546 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.7192, allocations: 0 / 0.9546 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7192, allocations: 0 / 0.9546 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.931e-06/0.7192, allocations: 1.125 kB / 0.9546 GB, free: 5.203 MB / 0.7169 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.000714/0.7199, allocations: 0.5324 MB / 0.9551 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.72, allocations: 9.219 kB / 0.9551 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.7201, allocations: 22.28 kB / 0.9551 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001832/0.7203, allocations: 241.1 kB / 0.9553 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.184e-05/0.7203, allocations: 23.95 kB / 0.9554 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.164e-05/0.7204, allocations: 14.38 kB / 0.9554 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005758/0.7209, allocations: 293.8 kB / 0.9557 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.729e-06/0.721, allocations: 0 / 0.9557 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.721, allocations: 5.344 kB / 0.9557 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.721, allocations: 3.344 kB / 0.9557 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001321/0.7223, allocations: 0.75 MB / 0.9564 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002972/0.7226, allocations: 302.5 kB / 0.9567 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001511/0.7242, allocations: 0.678 MB / 0.9574 GB, free: 3.375 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004868/0.7247, allocations: 235.9 kB / 0.9576 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/0.725, allocations: 385.2 kB / 0.9579 GB, free: 2.867 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.799e-05/0.725, allocations: 44.59 kB / 0.958 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=37): time 1.753e-06/0.725, allocations: 0 / 0.958 GB, free: 2.816 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37): time 0.001538/0.7266, allocations: 0.6527 MB / 0.9586 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.397e-05/0.7266, allocations: 54.59 kB / 0.9587 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.502e-05/0.7267, allocations: 129.8 kB / 0.9588 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.215e-05/0.7267, allocations: 30.8 kB / 0.9588 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.565e-05/0.7268, allocations: 91.64 kB / 0.9589 GB, free: 2.227 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.38e-05/0.7268, allocations: 125.1 kB / 0.959 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.12e-05/0.7269, allocations: 64.81 kB / 0.9591 GB, free: 2.074 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.619e-05/0.727, allocations: 324.6 kB / 0.9594 GB, free: 1.754 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004476/0.7275, allocations: 198.2 kB / 0.9596 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004505/0.7279, allocations: 202.6 kB / 0.9598 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008481/0.7288, allocations: 367 kB / 0.9601 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.7288, allocations: 0 / 0.9601 GB, free: 1.438 MB / 0.7169 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001024/0.7298, allocations: 467.7 kB / 0.9606 GB, free: 1.227 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.671e-05/0.7299, allocations: 9.781 kB / 0.9606 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.7299, allocations: 0 / 0.9606 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.7299, allocations: 1.219 kB / 0.9606 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003744/0.7303, allocations: 96.83 kB / 0.9607 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.7303, allocations: 5.234 kB / 0.9607 GB, free: 1.191 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000204/0.7305, allocations: 57.3 kB / 0.9608 GB, free: 1.156 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.065e-05/0.7305, allocations: 16.83 kB / 0.9608 GB, free: 1.148 MB / 0.7169 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.0001145/0.7307, allocations: 139.8 kB / 0.9609 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.042e-05/0.7307, allocations: 24.89 kB / 0.9609 GB, free: 1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.7319, allocations: 0.5112 MB / 0.9614 GB, free: 0.7461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.728e-06/0.7319, allocations: 12.3 kB / 0.9614 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.7319, allocations: 0 / 0.9614 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.7319, allocations: 1.125 kB / 0.9614 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.7322, allocations: 313 kB / 0.9617 GB, free: 468 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.7323, allocations: 4 kB / 0.9617 GB, free: 464 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003156/0.7326, allocations: 105 kB / 0.9618 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.7326, allocations: 1.062 kB / 0.9618 GB, free: 428 kB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.509e-05/0.7326, allocations: 8.406 kB / 0.9618 GB, free: 424 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.7326, allocations: 5.172 kB / 0.9619 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7326, allocations: 0 / 0.9619 GB, free: 420 kB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009961/0.7336, allocations: 498.1 kB / 0.9623 GB, free: 168 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.7337, allocations: 106.7 kB / 0.9624 GB, free: 48 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.7337, allocations: 10.16 kB / 0.9624 GB, free: 40 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.7339, allocations: 32.12 kB / 0.9625 GB, free: 28 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002539/0.7341, allocations: 118.7 kB / 0.9626 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/0.7342, allocations: 16.39 kB / 0.9626 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.082e-05/0.7343, allocations: 100.5 kB / 0.9627 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7343, allocations: 0 / 0.9627 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000431/0.7347, allocations: 117 kB / 0.9628 GB, free: 15.84 MB / 0.7325 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.0003993/0.7351, allocations: 185.1 kB / 0.963 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.7364, allocations: 0.5596 MB / 0.9635 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.7364, allocations: 0 / 0.9635 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000527/0.737, allocations: 257.3 kB / 0.9638 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.7374, allocations: 80.23 kB / 0.9639 GB, free: 15.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000802/0.7382, allocations: 0.4905 MB / 0.9643 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.7385, allocations: 0.73 MB / 0.965 GB, free: 14.32 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004269/0.739, allocations: 183.9 kB / 0.9652 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.7391, allocations: 39.72 kB / 0.9653 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.7391, allocations: 0 / 0.9653 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of Templates: time 0.009536/0.7486, allocations: 5.06 MB / 0.9702 GB, free: 11.72 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches