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.001777/0.001777, allocations: 110.1 kB / 16.41 MB, free: 6.496 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.001708/0.001708, allocations: 187 kB / 17.34 MB, free: 5.762 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.418/1.418, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.631/2.631, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 59.91 kB / 1.055 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9693/0.9709, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03306/1.004, allocations: 26.28 MB / 1.234 GB, free: 3.285 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01086/1.015, allocations: 7.132 MB / 1.241 GB, free: 12.14 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001589/1.017, allocations: 35.81 kB / 1.241 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001589/1.018, allocations: 381.5 kB / 1.241 GB, free: 11.73 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00421/1.022, allocations: 1.123 MB / 1.243 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003479/1.026, allocations: 0.9555 MB / 1.243 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003578/1.03, allocations: 2.097 MB / 1.246 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/1.031, allocations: 0.6135 MB / 1.246 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002226/1.033, allocations: 0.744 MB / 1.247 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001128/1.034, allocations: 0.5366 MB / 1.247 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/1.034, allocations: 56 kB / 1.247 GB, free: 5.59 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002005/1.036, allocations: 0.8071 MB / 1.248 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0002883/1.037, allocations: 175.4 kB / 1.248 GB, free: 4.609 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0006691/1.037, allocations: 382.1 kB / 1.249 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.002416/1.04, allocations: 1.209 MB / 1.25 GB, free: 3.023 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/1.04, allocations: 4 kB / 1.25 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.004e-06/1.04, allocations: 0 / 1.25 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.064e-05/1.04, allocations: 0 / 1.25 GB, free: 3.02 MB / 0.9669 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.001765/1.042, allocations: 1.051 MB / 1.251 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/1.042, allocations: 16.02 kB / 1.251 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003128/1.042, allocations: 84 kB / 1.251 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/1.043, allocations: 0.7451 MB / 1.252 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/1.043, allocations: 32.94 kB / 1.252 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.533e-05/1.043, allocations: 52 kB / 1.252 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008065/1.044, allocations: 0.4962 MB / 1.252 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/1.044, allocations: 0 / 1.252 GB, free: 436 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.999e-05/1.044, allocations: 20 kB / 1.252 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.949e-05/1.044, allocations: 19.94 kB / 1.252 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000518/1.045, allocations: 319.7 kB / 1.253 GB, free: 76 kB / 0.9669 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.002867/1.048, allocations: 2.748 MB / 1.255 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/1.048, allocations: 194.5 kB / 1.256 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001472/1.048, allocations: 100.8 kB / 1.256 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003301/1.048, allocations: 340.5 kB / 1.256 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/1.048, allocations: 42.86 kB / 1.256 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 2.063e-06/1.048, allocations: 0 / 1.256 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0005654/1.049, allocations: 300.8 kB / 1.256 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/1.049, allocations: 55.41 kB / 1.256 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005885/1.05, allocations: 0.5264 MB / 1.257 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.555e-05/1.05, allocations: 33.69 kB / 1.257 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002574/1.05, allocations: 343.4 kB / 1.257 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 7.42e-05/1.05, allocations: 86.84 kB / 1.257 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/1.05, allocations: 77.61 kB / 1.257 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001595/1.05, allocations: 362.8 kB / 1.258 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001534/1.051, allocations: 92.81 kB / 1.258 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002539/1.051, allocations: 236.3 kB / 1.258 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/1.051, allocations: 345.4 kB / 1.258 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/1.051, allocations: 0 / 1.258 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005726/1.052, allocations: 388.5 kB / 1.259 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.052, allocations: 12.09 kB / 1.259 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/1.052, allocations: 7.938 kB / 1.259 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/1.052, allocations: 8 kB / 1.259 GB, free: 9.32 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002704/1.052, allocations: 79.84 kB / 1.259 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/1.052, allocations: 8 kB / 1.259 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/1.053, allocations: 43.52 kB / 1.259 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/1.053, allocations: 20 kB / 1.259 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003121/1.053, allocations: 252 kB / 1.259 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002543/1.053, allocations: 234.6 kB / 1.259 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003832/1.054, allocations: 335.7 kB / 1.26 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.047e-06/1.054, allocations: 4 kB / 1.26 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005825/1.054, allocations: 388.7 kB / 1.26 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/1.054, allocations: 8 kB / 1.26 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/1.054, allocations: 4 kB / 1.26 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/1.054, allocations: 8 kB / 1.26 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002329/1.054, allocations: 75.91 kB / 1.26 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/1.054, allocations: 11.88 kB / 1.26 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/1.055, allocations: 27.83 kB / 1.26 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/1.055, allocations: 24.31 kB / 1.26 GB, free: 7.699 MB / 0.9825 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.0001599/1.055, allocations: 200.1 kB / 1.26 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/1.055, allocations: 59.25 kB / 1.26 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000485/1.056, allocations: 286.6 kB / 1.261 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.056, allocations: 7.938 kB / 1.261 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/1.056, allocations: 0 / 1.261 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003572/1.056, allocations: 379.6 kB / 1.261 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001469/1.057, allocations: 1.059 MB / 1.262 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/1.057, allocations: 4.281 kB / 1.262 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/1.058, allocations: 59.91 kB / 1.262 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/1.058, allocations: 4 kB / 1.262 GB, free: 5.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/1.058, allocations: 8 kB / 1.262 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/1.058, allocations: 4 kB / 1.262 GB, free: 5.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/1.058, allocations: 8 kB / 1.262 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006672/1.058, allocations: 0.518 MB / 1.263 GB, free: 4.914 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001953/1.059, allocations: 168.3 kB / 1.263 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.44e-05/1.059, allocations: 12.06 kB / 1.263 GB, free: 4.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003567/1.059, allocations: 19.97 kB / 1.263 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.01e-05/1.059, allocations: 27.84 kB / 1.263 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/1.059, allocations: 15.98 kB / 1.263 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004794/1.06, allocations: 411.1 kB / 1.263 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/1.06, allocations: 0 / 1.263 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001026/1.061, allocations: 359.2 kB / 1.264 GB, free: 3.902 MB / 0.9825 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.0007407/1.061, allocations: 313.6 kB / 1.264 GB, free: 3.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0007445/1.062, allocations: 411 kB / 1.264 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/1.062, allocations: 1.812 kB / 1.264 GB, free: 3.199 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001662/1.062, allocations: 103.8 kB / 1.265 GB, free: 3.098 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/1.064, allocations: 375.6 kB / 1.265 GB, free: 2.742 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/1.066, allocations: 1.106 MB / 1.266 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004971/1.066, allocations: 0.898 MB / 1.267 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001236/1.067, allocations: 59.42 kB / 1.267 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/1.067, allocations: 0 / 1.267 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of Templates: time 0.01599/1.083, allocations: 10.9 MB / 1.278 GB, free: 5.781 MB / 0.9981 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