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.001083/0.001083, 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.001116/0.001116, allocations: 198.1 kB / 16.14 MB, free: 6.719 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.527/1.527, allocations: 222.9 MB / 239.8 MB, free: 4.617 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.634/2.634, allocations: 437 MB / 0.7099 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001206/0.001206, allocations: 63.91 kB / 0.8685 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8576/0.8588, allocations: 151.6 MB / 1.017 GB, free: 2.797 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002755/0.8616, allocations: 1.443 MB / 1.018 GB, free: 1.344 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003591/0.8652, allocations: 2.91 MB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.325e-05/0.8653, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 9.236e-05/0.8654, allocations: 7.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.8656, allocations: 47.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005166/0.8661, allocations: 159.4 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000328/0.8664, allocations: 335.3 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.893e-05/0.8665, allocations: 4 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.695e-05/0.8666, allocations: 91.8 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001542/0.8667, allocations: 135.8 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.322e-05/0.8668, allocations: 8 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004116/0.8672, allocations: 159.7 kB / 1.022 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.8673, allocations: 87.81 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001143/0.8674, allocations: 87.58 kB / 1.022 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003817/0.8678, allocations: 269.3 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 1.242e-05/0.8678, allocations: 3.938 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.032e-06/0.8678, allocations: 7.938 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.8678, allocations: 4 kB / 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.0007369/0.8686, allocations: 0.5184 MB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/0.8686, allocations: 12.03 kB / 1.023 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.8687, allocations: 24.73 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.869, allocations: 240 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.089e-05/0.8691, allocations: 24.36 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/0.8691, allocations: 16.38 kB / 1.023 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006312/0.8697, allocations: 289.2 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.8698, allocations: 0 / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.8698, allocations: 4 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.111e-05/0.8698, allocations: 8 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001536/0.8714, allocations: 0.7452 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004893/0.8719, allocations: 309 kB / 1.024 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/0.8735, allocations: 0.6804 MB / 1.025 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004849/0.874, allocations: 228.7 kB / 1.025 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004794/0.8745, allocations: 392.3 kB / 1.026 GB, free: 9.355 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.192e-05/0.8745, allocations: 38.5 kB / 1.026 GB, free: 9.309 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=37): time 1.423e-06/0.8745, allocations: 11.94 kB / 1.026 GB, free: 9.297 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37): time 0.001687/0.8762, allocations: 0.6495 MB / 1.026 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.8763, allocations: 59.34 kB / 1.026 GB, free: 8.57 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.8764, allocations: 126 kB / 1.026 GB, free: 8.441 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.814e-05/0.8765, allocations: 29.7 kB / 1.026 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.778e-05/0.8766, allocations: 96.78 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001661/0.8767, allocations: 126.2 kB / 1.027 GB, free: 8.184 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001112/0.8768, allocations: 65.67 kB / 1.027 GB, free: 8.113 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002085/0.8771, allocations: 326.8 kB / 1.027 GB, free: 7.785 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004668/0.8775, allocations: 199.7 kB / 1.027 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004705/0.878, allocations: 200.8 kB / 1.027 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008561/0.8789, allocations: 360.9 kB / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8789, allocations: 0 / 1.028 GB, free: 7.039 MB / 0.7794 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001044/0.8799, allocations: 460.6 kB / 1.028 GB, free: 6.582 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.88, allocations: 10.5 kB / 1.028 GB, free: 6.574 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.88, allocations: 3.938 kB / 1.028 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.88, allocations: 3.984 kB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003384/0.8804, allocations: 95.92 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.8804, allocations: 7.938 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.8805, allocations: 51.64 kB / 1.028 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.8806, allocations: 15.98 kB / 1.028 GB, free: 6.398 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.0001235/0.8807, allocations: 134.4 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.063e-05/0.8807, allocations: 27.69 kB / 1.029 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.8819, allocations: 0.5142 MB / 1.029 GB, free: 5.707 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.991e-06/0.8819, allocations: 4 kB / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.8819, allocations: 0 / 1.029 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.8819, allocations: 3.984 kB / 1.029 GB, free: 5.699 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003032/0.8822, allocations: 305.3 kB / 1.029 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.8822, allocations: 0 / 1.029 GB, free: 5.352 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/0.8825, allocations: 99.8 kB / 1.029 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.8826, allocations: 0 / 1.029 GB, free: 5.254 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.443e-05/0.8826, allocations: 11.98 kB / 1.029 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.039e-06/0.8826, allocations: 8 kB / 1.029 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.8826, allocations: 0 / 1.029 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.8836, allocations: 0.4925 MB / 1.03 GB, free: 4.723 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.286e-05/0.8837, allocations: 100.8 kB / 1.03 GB, free: 4.605 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.532e-05/0.8837, allocations: 7.938 kB / 1.03 GB, free: 4.598 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001769/0.8839, allocations: 39.95 kB / 1.03 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.8841, allocations: 119.8 kB / 1.03 GB, free: 4.441 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.76e-05/0.8842, allocations: 15.98 kB / 1.03 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.31e-05/0.8842, allocations: 95.27 kB / 1.03 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8842, allocations: 0 / 1.03 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003862/0.8846, allocations: 123.9 kB / 1.03 GB, free: 4.211 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.0003508/0.885, allocations: 187 kB / 1.031 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0009866/0.886, allocations: 475.3 kB / 1.031 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.886, allocations: 0 / 1.031 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000509/0.8865, allocations: 259.4 kB / 1.031 GB, free: 3.301 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004109/0.8869, allocations: 83.8 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.0007612/0.8877, 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.0002952/0.888, allocations: 0.7331 MB / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0004162/0.8884, allocations: 180.8 kB / 1.033 GB, free: 1.785 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001046/0.8885, allocations: 43.41 kB / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.8886, allocations: 0 / 1.033 GB, free: 1.742 MB / 0.7794 GB Notification: Performance of Templates: time 0.008382/0.8969, allocations: 4.873 MB / 1.038 GB, free: 12.93 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/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