Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 108 kB / 15.6 MB, free: 132 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.001463/0.001463, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.382/1.382, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 472.7 MB / 0.7451 GB, free: 4.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 66.64 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3167, allocations: 159.9 MB / 1.068 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03144/0.3482, allocations: 26.27 MB / 1.094 GB, free: 15.98 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.3591, allocations: 7.147 MB / 1.101 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001174/0.3603, allocations: 35.75 kB / 1.101 GB, free: 8.789 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001378/0.3618, allocations: 385.5 kB / 1.101 GB, free: 8.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.003176/0.365, allocations: 1.115 MB / 1.102 GB, free: 7.289 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002399/0.3674, allocations: 0.9435 MB / 1.103 GB, free: 6.355 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00261/0.37, allocations: 2.093 MB / 1.105 GB, free: 4.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.3711, allocations: 0.614 MB / 1.106 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001739/0.3729, allocations: 0.716 MB / 1.107 GB, free: 2.906 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008729/0.3738, allocations: 0.5405 MB / 1.107 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001423/0.3739, allocations: 52 kB / 1.107 GB, free: 2.312 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00167/0.3756, allocations: 0.8071 MB / 1.108 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.3759, allocations: 175.4 kB / 1.108 GB, free: 1.332 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0004957/0.3764, allocations: 390.1 kB / 1.109 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001792/0.3782, allocations: 1.188 MB / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3782, allocations: 0 / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3782, allocations: 0 / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.828e-05/0.3783, allocations: 0 / 1.11 GB, free: 15.76 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.002038/0.3803, allocations: 1.055 MB / 1.111 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3804, allocations: 16.03 kB / 1.111 GB, free: 14.64 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004028/0.3808, allocations: 84 kB / 1.111 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001348/0.3821, allocations: 0.6983 MB / 1.111 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/0.3822, allocations: 36.88 kB / 1.112 GB, free: 13.78 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.837e-05/0.3823, allocations: 48 kB / 1.112 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007975/0.3831, allocations: 0.5001 MB / 1.112 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.995e-05/0.3831, allocations: 0 / 1.112 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.3832, allocations: 27.98 kB / 1.112 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.829e-05/0.3832, allocations: 12 kB / 1.112 GB, free: 13.16 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.3837, allocations: 323.7 kB / 1.112 GB, free: 12.85 MB / 0.8731 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002829/0.3866, allocations: 2.767 MB / 1.115 GB, free: 9.84 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.3869, allocations: 191.5 kB / 1.115 GB, free: 9.645 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.387, allocations: 96.81 kB / 1.115 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003188/0.3874, allocations: 344.4 kB / 1.116 GB, free: 9.137 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.056e-05/0.3874, allocations: 42.88 kB / 1.116 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=22): time 1.613e-06/0.3874, allocations: 0 / 1.116 GB, free: 9.086 MB / 0.8731 GB Notification: Performance of matching and sorting (n=22): time 0.0005913/0.388, allocations: 307.1 kB / 1.116 GB, free: 8.781 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.3881, allocations: 51.41 kB / 1.116 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/0.3887, allocations: 0.5302 MB / 1.117 GB, free: 8.18 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.3887, allocations: 33.7 kB / 1.117 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002352/0.389, allocations: 339.4 kB / 1.117 GB, free: 7.805 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.3891, allocations: 90.84 kB / 1.117 GB, free: 7.715 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/0.3892, allocations: 81.59 kB / 1.117 GB, free: 7.629 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3894, allocations: 362.8 kB / 1.117 GB, free: 7.266 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001487/0.3895, allocations: 88.81 kB / 1.118 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002428/0.3898, allocations: 245.8 kB / 1.118 GB, free: 6.871 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004225/0.3902, allocations: 342.5 kB / 1.118 GB, free: 6.48 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3902, allocations: 4 kB / 1.118 GB, free: 6.477 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006164/0.3908, allocations: 391.3 kB / 1.118 GB, free: 6.09 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.3909, allocations: 5.719 kB / 1.118 GB, free: 6.086 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.3909, allocations: 8 kB / 1.118 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.3909, allocations: 4 kB / 1.119 GB, free: 6.074 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002632/0.3912, allocations: 83.83 kB / 1.119 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.3912, allocations: 8 kB / 1.119 GB, free: 5.984 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003316/0.3915, allocations: 35.59 kB / 1.119 GB, free: 5.949 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/0.3916, allocations: 23.98 kB / 1.119 GB, free: 5.926 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003088/0.3919, allocations: 248.2 kB / 1.119 GB, free: 5.68 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002336/0.3921, allocations: 229.9 kB / 1.119 GB, free: 5.391 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004067/0.3925, allocations: 335.2 kB / 1.119 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.727e-06/0.3925, allocations: 0 / 1.119 GB, free: 5.008 MB / 0.8731 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.000604/0.3932, allocations: 388.5 kB / 1.12 GB, free: 4.621 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.3932, allocations: 4 kB / 1.12 GB, free: 4.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3932, allocations: 8 kB / 1.12 GB, free: 4.609 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.734e-06/0.3932, allocations: 7.938 kB / 1.12 GB, free: 4.602 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.3935, allocations: 79.89 kB / 1.12 GB, free: 4.523 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.3935, allocations: 16.41 kB / 1.12 GB, free: 4.508 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003228/0.3938, allocations: 27.84 kB / 1.12 GB, free: 4.48 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/0.3938, allocations: 19.98 kB / 1.12 GB, free: 4.461 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (44): * Single equations (assignments): 44 * 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.0001595/0.394, allocations: 200.7 kB / 1.12 GB, free: 4.258 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/0.3941, allocations: 59.25 kB / 1.12 GB, free: 4.199 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005012/0.3946, allocations: 281 kB / 1.12 GB, free: 3.918 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3947, allocations: 7.938 kB / 1.12 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3947, allocations: 0 / 1.12 GB, free: 3.91 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003831/0.3951, allocations: 385.4 kB / 1.121 GB, free: 3.484 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00155/0.3966, allocations: 1.058 MB / 1.122 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.3966, allocations: 0 / 1.122 GB, free: 2.324 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.3968, allocations: 63.91 kB / 1.122 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3969, allocations: 0 / 1.122 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.3969, allocations: 12 kB / 1.122 GB, free: 2.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.3969, allocations: 4 kB / 1.122 GB, free: 2.246 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3969, allocations: 3.984 kB / 1.122 GB, free: 2.242 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000651/0.3976, allocations: 0.5149 MB / 1.122 GB, free: 1.684 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002093/0.3978, allocations: 172.3 kB / 1.123 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.13e-05/0.3979, allocations: 11.94 kB / 1.123 GB, free: 1.484 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003619/0.3982, allocations: 15.98 kB / 1.123 GB, free: 1.469 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.236e-05/0.3983, allocations: 23.86 kB / 1.123 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/0.3983, allocations: 15.98 kB / 1.123 GB, free: 1.43 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0006242/0.399, allocations: 415.1 kB / 1.123 GB, free: 1.023 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.61e-07/0.399, allocations: 4.062 kB / 1.123 GB, free: 1.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001367/0.4004, allocations: 355.2 kB / 1.123 GB, free: 0.6719 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (vol.dynBal.U,vol1.dynBal.U) * 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 (25): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.001065/0.4014, allocations: 305.5 kB / 1.124 GB, free: 384 kB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008695/0.4023, allocations: 425.2 kB / 1.124 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4023, allocations: 0 / 1.124 GB, free: 15.96 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001795/0.4025, allocations: 104.8 kB / 1.124 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/0.4043, allocations: 388 kB / 1.125 GB, free: 15.5 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.4061, allocations: 1.1 MB / 1.126 GB, free: 14.34 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/0.4067, allocations: 0.8941 MB / 1.127 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0005909/0.4073, allocations: 157.1 kB / 1.127 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001109/0.4074, allocations: 55.42 kB / 1.127 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of SimCode: time 1.834e-06/0.4074, allocations: 0 / 1.127 GB, free: 13.21 MB / 0.8887 GB Notification: Performance of Templates: time 0.02276/0.4301, allocations: 12.92 MB / 1.139 GB, free: 468 kB / 0.8887 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches