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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001399/0.001399, allocations: 100.1 kB / 15.88 MB, free: 12 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.001323/0.001323, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.314/1.314, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.512/2.512, allocations: 437 MB / 0.7106 GB, free: 5.32 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001391/0.001391, allocations: 63.91 kB / 0.8692 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5938/0.5952, allocations: 151.6 MB / 1.017 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002768/0.598, allocations: 1.45 MB / 1.019 GB, free: 1.371 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.6014, allocations: 2.914 MB / 1.022 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.233e-05/0.6014, allocations: 4 kB / 1.022 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 8.477e-05/0.6015, allocations: 0 / 1.022 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.6017, allocations: 43.8 kB / 1.022 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.6021, allocations: 159.4 kB / 1.022 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003124/0.6025, allocations: 339.3 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.721e-05/0.6025, allocations: 8 kB / 1.022 GB, free: 13.9 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.965e-05/0.6026, allocations: 91.84 kB / 1.022 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.6028, allocations: 131.7 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.217e-05/0.6028, allocations: 12 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003768/0.6032, allocations: 155.7 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.244e-05/0.6033, allocations: 87.81 kB / 1.023 GB, free: 13.43 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.6034, allocations: 95.58 kB / 1.023 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.6036, allocations: 185.6 kB / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.6037, allocations: 0 / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.62e-07/0.6037, allocations: 0 / 1.023 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.748e-06/0.6037, allocations: 0 / 1.023 GB, free: 13.16 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.0007852/0.6045, allocations: 0.5339 MB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.6045, allocations: 8.031 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.6046, allocations: 20.75 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.6049, allocations: 240 kB / 1.024 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.402e-05/0.6049, allocations: 24.36 kB / 1.024 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.943e-05/0.6049, allocations: 12.38 kB / 1.024 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006147/0.6056, allocations: 289.3 kB / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.306e-06/0.6056, allocations: 0 / 1.024 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.123e-05/0.6056, allocations: 11.94 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.6056, allocations: 4 kB / 1.024 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001433/0.6071, allocations: 0.7491 MB / 1.025 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.6074, allocations: 313 kB / 1.025 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.609, allocations: 0.6809 MB / 1.026 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004814/0.6095, allocations: 224.7 kB / 1.026 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004028/0.6099, allocations: 392.4 kB / 1.026 GB, free: 9.461 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.036e-05/0.6099, allocations: 38.5 kB / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.853e-06/0.61, allocations: 0 / 1.026 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001531/0.6115, allocations: 0.6534 MB / 1.027 GB, free: 8.754 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.196e-05/0.6115, allocations: 55.41 kB / 1.027 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.6116, allocations: 130.1 kB / 1.027 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.545e-05/0.6117, allocations: 33.64 kB / 1.027 GB, free: 8.512 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.124e-05/0.6117, allocations: 92.8 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.62e-05/0.6118, allocations: 122.2 kB / 1.027 GB, free: 8.297 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.6119, allocations: 61.69 kB / 1.027 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001151/0.6121, allocations: 330.8 kB / 1.028 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004449/0.6125, allocations: 195.8 kB / 1.028 GB, free: 7.707 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/0.613, allocations: 200.8 kB / 1.028 GB, free: 7.512 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008014/0.6138, allocations: 360.9 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.6138, allocations: 0 / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001011/0.6148, allocations: 464.6 kB / 1.029 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.6148, allocations: 10.12 kB / 1.029 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.6148, allocations: 4 kB / 1.029 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6149, allocations: 8 kB / 1.029 GB, free: 6.676 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.6152, allocations: 95.86 kB / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6152, allocations: 0 / 1.029 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001691/0.6154, allocations: 51.73 kB / 1.029 GB, free: 6.531 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.6154, allocations: 19.98 kB / 1.029 GB, free: 6.512 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.0001296/0.6156, allocations: 142.3 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.164e-05/0.6156, allocations: 19.75 kB / 1.029 GB, free: 6.344 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001135/0.6168, allocations: 0.5175 MB / 1.03 GB, free: 5.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.6168, allocations: 4 kB / 1.03 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.6168, allocations: 0 / 1.03 GB, free: 5.816 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.6168, allocations: 4 kB / 1.03 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003426/0.6171, allocations: 309.3 kB / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.6172, allocations: 0 / 1.03 GB, free: 5.461 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003211/0.6175, allocations: 107.8 kB / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.6175, allocations: 0 / 1.03 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.6175, allocations: 11.98 kB / 1.03 GB, free: 5.344 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6175, allocations: 7.938 kB / 1.03 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.6175, allocations: 0 / 1.03 GB, free: 5.336 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.6185, allocations: 0.4886 MB / 1.031 GB, free: 4.828 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.858e-05/0.6186, allocations: 100.8 kB / 1.031 GB, free: 4.711 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.501e-05/0.6187, allocations: 4 kB / 1.031 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001636/0.6188, allocations: 43.95 kB / 1.031 GB, free: 4.664 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002243/0.6191, allocations: 115.8 kB / 1.031 GB, free: 4.551 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.6191, allocations: 8 kB / 1.031 GB, free: 4.543 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.968e-05/0.6191, allocations: 107.2 kB / 1.031 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6192, allocations: 0 / 1.031 GB, free: 4.438 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003808/0.6195, allocations: 115.9 kB / 1.031 GB, free: 4.324 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.0003577/0.6199, allocations: 195 kB / 1.031 GB, free: 4.125 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001026/0.6209, allocations: 475.3 kB / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.6209, allocations: 0 / 1.032 GB, free: 3.66 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005163/0.6215, allocations: 263.4 kB / 1.032 GB, free: 3.402 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.6219, allocations: 73.53 kB / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008136/0.6227, allocations: 0.502 MB / 1.032 GB, free: 2.797 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.623, allocations: 0.7407 MB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001469/0.6232, allocations: 43.41 kB / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.6232, allocations: 0 / 1.033 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of Templates: time 0.007053/0.6302, allocations: 4.722 MB / 1.038 GB, free: 13.32 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=480 -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches