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.005493/0.005493, allocations: 101.1 kB / 15.73 MB, free: 6.039 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.001474/0.001474, allocations: 196.8 kB / 16.68 MB, free: 5.965 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.354/1.354, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.701/2.701, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 63.91 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8254/0.8267, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02599/0.8528, allocations: 26.28 MB / 1.233 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.8639, allocations: 7.126 MB / 1.24 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001785/0.8657, allocations: 39.75 kB / 1.24 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00141/0.8673, allocations: 381.5 kB / 1.241 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.8703, allocations: 1.108 MB / 1.242 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.8728, allocations: 0.9639 MB / 1.243 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002672/0.8754, allocations: 2.089 MB / 1.245 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001118/0.8766, allocations: 0.6214 MB / 1.245 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001896/0.8785, allocations: 0.7481 MB / 1.246 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009451/0.8794, allocations: 0.5366 MB / 1.247 GB, free: 5.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.8796, allocations: 56 kB / 1.247 GB, free: 5.547 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001514/0.8811, allocations: 0.811 MB / 1.248 GB, free: 4.734 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001897/0.8813, allocations: 171.4 kB / 1.248 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004461/0.8817, allocations: 386.1 kB / 1.248 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00158/0.8833, allocations: 1.209 MB / 1.249 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8833, allocations: 0 / 1.249 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.813e-06/0.8833, allocations: 0 / 1.249 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.8834, allocations: 0 / 1.249 GB, free: 2.977 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.001468/0.8848, allocations: 1.051 MB / 1.25 GB, free: 1.875 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.8849, allocations: 8.031 kB / 1.25 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003017/0.8852, allocations: 88 kB / 1.25 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/0.8864, allocations: 0.7412 MB / 1.251 GB, free: 1 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.127e-05/0.8865, allocations: 40.88 kB / 1.251 GB, free: 0.9609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.8865, allocations: 44 kB / 1.251 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007613/0.8873, allocations: 0.5001 MB / 1.252 GB, free: 396 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.8873, allocations: 4 kB / 1.252 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.458e-05/0.8874, allocations: 23.94 kB / 1.252 GB, free: 368 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.643e-05/0.8874, allocations: 12 kB / 1.252 GB, free: 356 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005045/0.8879, allocations: 319.7 kB / 1.252 GB, free: 36 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.002807/0.8908, allocations: 2.752 MB / 1.255 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.8911, allocations: 194.4 kB / 1.255 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/0.8912, allocations: 104.8 kB / 1.255 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003237/0.8916, allocations: 340.5 kB / 1.255 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/0.8916, allocations: 42.88 kB / 1.255 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.8916, allocations: 4 kB / 1.255 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0005525/0.8922, allocations: 300.9 kB / 1.256 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/0.8922, allocations: 51.41 kB / 1.256 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.8928, allocations: 0.5264 MB / 1.256 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.066e-05/0.8929, allocations: 33.7 kB / 1.256 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002391/0.8931, allocations: 343.3 kB / 1.257 GB, free: 11 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.247e-05/0.8932, allocations: 78.84 kB / 1.257 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/0.8933, allocations: 81.59 kB / 1.257 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.8934, allocations: 366.8 kB / 1.257 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.8936, allocations: 92.81 kB / 1.257 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002474/0.8939, allocations: 231.8 kB / 1.257 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.8943, allocations: 340.8 kB / 1.258 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.8943, allocations: 0 / 1.258 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000582/0.8949, allocations: 395.9 kB / 1.258 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.8949, allocations: 9.406 kB / 1.258 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.8949, allocations: 4.562 kB / 1.258 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.8949, allocations: 4 kB / 1.258 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002614/0.8952, allocations: 87.91 kB / 1.258 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-05/0.8952, allocations: 11.92 kB / 1.258 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003063/0.8955, allocations: 43.53 kB / 1.258 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/0.8956, allocations: 19.98 kB / 1.258 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002978/0.8959, allocations: 248 kB / 1.258 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002404/0.8961, allocations: 234.6 kB / 1.259 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003845/0.8965, allocations: 335.7 kB / 1.259 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.803e-06/0.8965, allocations: 0 / 1.259 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.000553/0.8971, allocations: 388.9 kB / 1.259 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.8971, allocations: 12.09 kB / 1.259 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.8971, allocations: 7.938 kB / 1.259 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.252e-06/0.8971, allocations: 4 kB / 1.259 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002298/0.8974, allocations: 87.78 kB / 1.259 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.8974, allocations: 11.92 kB / 1.259 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.8977, allocations: 23.84 kB / 1.26 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.8977, allocations: 20 kB / 1.26 GB, free: 7.652 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.0001376/0.8979, allocations: 208.1 kB / 1.26 GB, free: 7.441 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.898, allocations: 67.25 kB / 1.26 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004877/0.8985, allocations: 268.9 kB / 1.26 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.468e-06/0.8985, allocations: 7.938 kB / 1.26 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.8985, allocations: 0 / 1.26 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003596/0.8989, allocations: 381.3 kB / 1.26 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.9003, allocations: 1.053 MB / 1.261 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9003, allocations: 4 kB / 1.261 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/0.9005, allocations: 55.91 kB / 1.262 GB, free: 5.461 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.9005, allocations: 4.281 kB / 1.262 GB, free: 5.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.928e-05/0.9006, allocations: 12 kB / 1.262 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.33e-06/0.9006, allocations: 7.938 kB / 1.262 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.9006, allocations: 4 kB / 1.262 GB, free: 5.434 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006272/0.9012, allocations: 0.5156 MB / 1.262 GB, free: 4.875 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.9014, allocations: 168.3 kB / 1.262 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.348e-05/0.9015, allocations: 11.98 kB / 1.262 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003286/0.9018, allocations: 15.98 kB / 1.262 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.9019, allocations: 32.06 kB / 1.262 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.901e-05/0.9019, allocations: 19.98 kB / 1.262 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004503/0.9024, allocations: 407.1 kB / 1.263 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9024, allocations: 0 / 1.263 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000999/0.9034, allocations: 359.2 kB / 1.263 GB, free: 3.863 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.0006965/0.9041, allocations: 310.2 kB / 1.263 GB, free: 3.559 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006585/0.9048, allocations: 416.1 kB / 1.264 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.9048, allocations: 0 / 1.264 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001491/0.9049, allocations: 103.8 kB / 1.264 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001709/0.9067, allocations: 378.8 kB / 1.264 GB, free: 2.703 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001695/0.9084, allocations: 1.084 MB / 1.265 GB, free: 1.559 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005007/0.9089, allocations: 0.8981 MB / 1.266 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004676/0.9094, allocations: 157 kB / 1.266 GB, free: 492 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.9095, allocations: 59.36 kB / 1.266 GB, free: 432 kB / 0.9825 GB Notification: Performance of SimCode: time 6.31e-07/0.9095, allocations: 0 / 1.266 GB, free: 432 kB / 0.9825 GB Notification: Performance of Templates: time 0.02388/0.9334, allocations: 13.14 MB / 1.279 GB, free: 3.449 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/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