Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001736/0.001736, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002031/0.002031, allocations: 196.7 kB / 16.53 MB, free: 6.664 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.485/1.485, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.741/2.741, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 55.91 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6242/0.6261, allocations: 151.6 MB / 1.017 GB, free: 2.52 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.003122/0.6293, allocations: 1.382 MB / 1.019 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00437/0.6337, allocations: 2.913 MB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.257e-05/0.6338, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000125/0.6339, allocations: 11.92 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001401/0.6341, allocations: 39.81 kB / 1.022 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006635/0.6348, allocations: 187.1 kB / 1.022 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002986/0.6351, allocations: 243.5 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.341e-05/0.6351, allocations: 4 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.6352, allocations: 91.84 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001661/0.6354, allocations: 123.7 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.576e-05/0.6355, allocations: 8 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000417/0.6359, allocations: 139.9 kB / 1.022 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.636, allocations: 87.81 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001301/0.6361, allocations: 91.58 kB / 1.022 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003906/0.6365, allocations: 273.3 kB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6366, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6366, allocations: 0 / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.6366, allocations: 0 / 1.023 GB, free: 12.93 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.0009482/0.6375, allocations: 0.534 MB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.6376, allocations: 8.031 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001344/0.6377, allocations: 20.75 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003175/0.638, allocations: 241.1 kB / 1.024 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.073e-05/0.6381, allocations: 28.36 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.38e-05/0.6381, allocations: 16.31 kB / 1.024 GB, free: 12 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007171/0.6389, allocations: 293.2 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.6389, allocations: 3.984 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.442e-05/0.6389, allocations: 8 kB / 1.024 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6389, allocations: 4 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001601/0.6405, allocations: 0.7452 MB / 1.025 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.641, allocations: 309 kB / 1.025 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00181/0.6428, allocations: 0.6765 MB / 1.026 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005636/0.6434, allocations: 224.7 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005406/0.6439, allocations: 400.3 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.265e-05/0.644, allocations: 38.5 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.573e-06/0.644, allocations: 3.938 kB / 1.026 GB, free: 9.168 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001816/0.6458, allocations: 0.6495 MB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.683e-05/0.6458, allocations: 55.41 kB / 1.027 GB, free: 8.445 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.646, allocations: 133.9 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.055e-05/0.646, allocations: 29.7 kB / 1.027 GB, free: 8.273 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/0.6461, allocations: 92.8 kB / 1.027 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.6462, allocations: 118.2 kB / 1.027 GB, free: 8.062 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.6463, allocations: 61.69 kB / 1.027 GB, free: 7.996 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001717/0.6465, allocations: 342.7 kB / 1.028 GB, free: 7.652 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005103/0.647, allocations: 195.8 kB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005193/0.6476, allocations: 196.8 kB / 1.028 GB, free: 7.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009681/0.6485, allocations: 360.9 kB / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6485, allocations: 0 / 1.028 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001176/0.6497, allocations: 464.6 kB / 1.029 GB, free: 6.453 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.6498, allocations: 4 kB / 1.029 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6498, allocations: 4 kB / 1.029 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.6498, allocations: 4 kB / 1.029 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.6502, allocations: 99.84 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.6502, allocations: 0 / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.6504, allocations: 51.66 kB / 1.029 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.22e-05/0.6504, allocations: 15.98 kB / 1.029 GB, free: 6.277 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.000146/0.6506, allocations: 145.8 kB / 1.029 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.834e-05/0.6506, allocations: 19.75 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/0.652, allocations: 0.5141 MB / 1.03 GB, free: 5.582 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-06/0.652, allocations: 4 kB / 1.03 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.652, allocations: 0 / 1.03 GB, free: 5.578 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.652, allocations: 7.984 kB / 1.03 GB, free: 5.57 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.6524, allocations: 309.3 kB / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.6524, allocations: 0 / 1.03 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003637/0.6528, allocations: 103.8 kB / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6528, allocations: 0 / 1.03 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.6528, allocations: 15.97 kB / 1.03 GB, free: 5.102 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.977e-06/0.6528, allocations: 4 kB / 1.03 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.6528, allocations: 0 / 1.03 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.654, allocations: 496 kB / 1.03 GB, free: 4.594 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.912e-05/0.6541, allocations: 104.7 kB / 1.031 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.6542, allocations: 8 kB / 1.031 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001884/0.6544, allocations: 47.89 kB / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002354/0.6546, allocations: 115.8 kB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.596e-05/0.6546, allocations: 11.98 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.6547, allocations: 99.27 kB / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6547, allocations: 0 / 1.031 GB, free: 4.195 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003891/0.6551, allocations: 119.9 kB / 1.031 GB, free: 4.078 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.000378/0.6555, allocations: 197.2 kB / 1.031 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001352/0.6569, allocations: 0.5582 MB / 1.032 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.6569, allocations: 0 / 1.032 GB, free: 3.32 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0006092/0.6575, allocations: 259.4 kB / 1.032 GB, free: 3.066 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004149/0.6579, allocations: 80.17 kB / 1.032 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007826/0.6587, allocations: 430.4 kB / 1.032 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003904/0.6591, allocations: 0.7289 MB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004427/0.6596, allocations: 183.2 kB / 1.033 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.6597, allocations: 39.42 kB / 1.033 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.6597, allocations: 0 / 1.033 GB, free: 1.578 MB / 0.7794 GB Notification: Performance of Templates: time 0.01039/0.6701, allocations: 5.257 MB / 1.038 GB, free: 12.39 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile (rm -f Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Antifreeze_Validation_EthyleneGlycolWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches