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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001335/0.001334, allocations: 108.5 kB / 16.27 MB, free: 5.996 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.001183/0.001184, allocations: 191.5 kB / 17.2 MB, free: 5.605 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.499/1.499, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.575/2.575, allocations: 469.4 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 64.62 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3269/0.3285, allocations: 159.1 MB / 1.064 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.7108/1.039, allocations: 26.27 MB / 1.09 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01101/1.05, allocations: 7.132 MB / 1.097 GB, free: 4.836 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001971/1.052, allocations: 38.25 kB / 1.097 GB, free: 4.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/1.054, allocations: 383.5 kB / 1.097 GB, free: 4.594 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.003864/1.058, allocations: 1.112 MB / 1.098 GB, free: 3.938 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.003167/1.061, allocations: 0.952 MB / 1.099 GB, free: 3.438 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.003905/1.065, allocations: 2.082 MB / 1.101 GB, free: 2.465 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001162/1.066, allocations: 0.6177 MB / 1.102 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002202/1.068, allocations: 0.7177 MB / 1.103 GB, free: 1.852 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009209/1.069, allocations: 0.5461 MB / 1.103 GB, free: 1.598 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/1.069, allocations: 58.62 kB / 1.103 GB, free: 1.594 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002281/1.071, allocations: 0.8079 MB / 1.104 GB, free: 1.309 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0002148/1.072, allocations: 173.1 kB / 1.104 GB, free: 1.207 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0004575/1.072, allocations: 377.2 kB / 1.104 GB, free: 0.9883 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.002317/1.075, allocations: 1.2 MB / 1.106 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.075, allocations: 0 / 1.106 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.184e-06/1.075, allocations: 0 / 1.106 GB, free: 0.5391 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 1.613e-05/1.075, allocations: 0 / 1.106 GB, free: 0.5391 MB / 0.8419 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.001625/1.076, allocations: 1.063 MB / 1.107 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.548e-05/1.076, allocations: 9.688 kB / 1.107 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004164/1.077, allocations: 87.17 kB / 1.107 GB, free: 15.71 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001306/1.078, allocations: 0.6885 MB / 1.107 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/1.078, allocations: 39.59 kB / 1.108 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.976e-05/1.078, allocations: 47.73 kB / 1.108 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009036/1.079, allocations: 0.5005 MB / 1.108 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.343e-05/1.079, allocations: 9.688 kB / 1.108 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.228e-05/1.079, allocations: 17.28 kB / 1.108 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/1.079, allocations: 13.5 kB / 1.108 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005895/1.08, allocations: 326.2 kB / 1.108 GB, free: 14.82 MB / 0.8575 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.003477/1.083, allocations: 2.758 MB / 1.111 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003815/1.084, allocations: 198.7 kB / 1.111 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/1.084, allocations: 97.72 kB / 1.111 GB, free: 12.44 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003856/1.084, allocations: 339.1 kB / 1.112 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/1.084, allocations: 34.05 kB / 1.112 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=22): time 2.595e-06/1.084, allocations: 0 / 1.112 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=22): time 0.0006822/1.085, allocations: 312.3 kB / 1.112 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/1.085, allocations: 54.84 kB / 1.112 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007606/1.086, allocations: 0.5262 MB / 1.113 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 3.878e-05/1.086, allocations: 32.45 kB / 1.113 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/1.086, allocations: 350.8 kB / 1.113 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/1.086, allocations: 81.55 kB / 1.113 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/1.086, allocations: 79.39 kB / 1.113 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001792/1.087, allocations: 359.2 kB / 1.113 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001851/1.087, allocations: 95.38 kB / 1.114 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003225/1.087, allocations: 237.8 kB / 1.114 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005175/1.088, allocations: 339.6 kB / 1.114 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.088, allocations: 1.094 kB / 1.114 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007081/1.088, allocations: 392.6 kB / 1.114 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/1.088, allocations: 6.75 kB / 1.114 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/1.088, allocations: 9.016 kB / 1.114 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/1.088, allocations: 10.41 kB / 1.114 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003009/1.089, allocations: 80.28 kB / 1.115 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.6e-05/1.089, allocations: 7.891 kB / 1.115 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/1.089, allocations: 43.83 kB / 1.115 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/1.089, allocations: 19.38 kB / 1.115 GB, free: 10.08 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000418/1.09, allocations: 243.8 kB / 1.115 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003094/1.09, allocations: 240.6 kB / 1.115 GB, free: 9.711 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000435/1.09, allocations: 336 kB / 1.115 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.577e-06/1.09, allocations: 2.188 kB / 1.115 GB, free: 9.449 MB / 0.8575 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006444/1.091, allocations: 384.2 kB / 1.116 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/1.091, allocations: 9.797 kB / 1.116 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/1.091, allocations: 6.219 kB / 1.116 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/1.091, allocations: 7.156 kB / 1.116 GB, free: 9.281 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/1.091, allocations: 84.45 kB / 1.116 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/1.091, allocations: 7.5 kB / 1.116 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/1.092, allocations: 41.56 kB / 1.116 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.133e-05/1.092, allocations: 15.06 kB / 1.116 GB, free: 9.238 MB / 0.8575 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.0001834/1.092, allocations: 208.6 kB / 1.116 GB, free: 9.035 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/1.092, allocations: 56.22 kB / 1.116 GB, free: 9.008 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005739/1.093, allocations: 281.2 kB / 1.116 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/1.093, allocations: 3.141 kB / 1.116 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/1.093, allocations: 3.938 kB / 1.116 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004183/1.093, allocations: 383.3 kB / 1.117 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/1.095, allocations: 1.058 MB / 1.118 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.095, allocations: 2.531 kB / 1.118 GB, free: 7.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/1.095, allocations: 51.23 kB / 1.118 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.095, allocations: 3.438 kB / 1.118 GB, free: 7.836 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.253e-05/1.095, allocations: 10.08 kB / 1.118 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.544e-06/1.095, allocations: 4.234 kB / 1.118 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.095, allocations: 3.781 kB / 1.118 GB, free: 7.832 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007642/1.096, allocations: 0.5305 MB / 1.118 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002356/1.096, allocations: 171.1 kB / 1.119 GB, free: 7.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.361e-05/1.096, allocations: 10.83 kB / 1.119 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/1.097, allocations: 14.83 kB / 1.119 GB, free: 7.316 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/1.097, allocations: 23.17 kB / 1.119 GB, free: 7.309 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/1.097, allocations: 23.56 kB / 1.119 GB, free: 7.301 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000615/1.098, allocations: 415.7 kB / 1.119 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.5e-07/1.098, allocations: 0 / 1.119 GB, free: 7.105 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001378/1.099, allocations: 350.2 kB / 1.119 GB, free: 7.035 MB / 0.8575 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.0007891/1.1, allocations: 327.9 kB / 1.12 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0008503/1.101, allocations: 417.8 kB / 1.12 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/1.101, allocations: 5.75 kB / 1.12 GB, free: 6.727 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001863/1.101, allocations: 102.6 kB / 1.12 GB, free: 6.695 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001841/1.103, allocations: 376.6 kB / 1.121 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002201/1.105, allocations: 1.123 MB / 1.122 GB, free: 5.863 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006748/1.106, allocations: 0.8921 MB / 1.123 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/1.106, allocations: 59.19 kB / 1.123 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/1.106, allocations: 0 / 1.123 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of Templates: time 0.02494/1.131, allocations: 10.83 MB / 1.133 GB, free: 3.707 MB / 0.8575 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches