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.008871/0.00887, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.00184/0.00184, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.351/1.351, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7348 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 67.89 kB / 1.054 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9557/0.9573, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02821/0.9856, allocations: 26.29 MB / 1.233 GB, free: 3.27 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01068/0.9963, allocations: 7.126 MB / 1.24 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.9982, allocations: 35.81 kB / 1.24 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.9996, allocations: 397.5 kB / 1.241 GB, free: 11.7 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.004096/1.004, allocations: 1.166 MB / 1.242 GB, free: 10.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002779/1.006, allocations: 0.9524 MB / 1.243 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.003245/1.01, allocations: 2.108 MB / 1.245 GB, free: 7.473 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008972/1.011, allocations: 0.6175 MB / 1.245 GB, free: 6.844 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001887/1.013, allocations: 0.7435 MB / 1.246 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000781/1.013, allocations: 0.5444 MB / 1.247 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.057e-05/1.013, allocations: 52 kB / 1.247 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/1.015, allocations: 0.811 MB / 1.248 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/1.015, allocations: 171.4 kB / 1.248 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0004193/1.016, allocations: 382.1 kB / 1.248 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.00182/1.018, allocations: 1.201 MB / 1.249 GB, free: 2.945 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/1.018, allocations: 4 kB / 1.249 GB, free: 2.941 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/1.018, allocations: 4 kB / 1.249 GB, free: 2.938 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.187e-06/1.018, allocations: 4 kB / 1.249 GB, free: 2.934 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.001436/1.019, allocations: 1.055 MB / 1.25 GB, free: 1.828 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.019, allocations: 8.031 kB / 1.25 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003176/1.019, allocations: 87.98 kB / 1.25 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/1.021, allocations: 0.7412 MB / 1.251 GB, free: 0.9531 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.169e-05/1.021, allocations: 40.94 kB / 1.251 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.206e-05/1.021, allocations: 44 kB / 1.251 GB, free: 0.8711 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007307/1.021, allocations: 0.4962 MB / 1.252 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/1.022, allocations: 0 / 1.252 GB, free: 352 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.379e-05/1.022, allocations: 20 kB / 1.252 GB, free: 332 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/1.022, allocations: 19.98 kB / 1.252 GB, free: 312 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005006/1.022, allocations: 319.8 kB / 1.252 GB, free: 15.99 MB / 0.9825 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.002593/1.025, allocations: 2.748 MB / 1.255 GB, free: 13 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/1.025, allocations: 192.1 kB / 1.255 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/1.025, allocations: 96.81 kB / 1.255 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003213/1.025, allocations: 344.4 kB / 1.255 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.026, allocations: 38.88 kB / 1.255 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 2.034e-06/1.026, allocations: 3.938 kB / 1.255 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0005858/1.026, allocations: 311.6 kB / 1.256 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/1.026, allocations: 51.41 kB / 1.256 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005484/1.027, allocations: 0.5225 MB / 1.256 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/1.027, allocations: 33.7 kB / 1.256 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002341/1.027, allocations: 347.5 kB / 1.257 GB, free: 10.96 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.785e-05/1.027, allocations: 90.78 kB / 1.257 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/1.027, allocations: 77.61 kB / 1.257 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001529/1.027, allocations: 358.8 kB / 1.257 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/1.028, allocations: 92.8 kB / 1.257 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/1.028, allocations: 229.9 kB / 1.257 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000385/1.028, allocations: 348.8 kB / 1.258 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.028, allocations: 4 kB / 1.258 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005585/1.029, allocations: 388.5 kB / 1.258 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.115e-05/1.029, allocations: 13.78 kB / 1.258 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/1.029, allocations: 4 kB / 1.258 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/1.029, allocations: 4 kB / 1.258 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/1.029, allocations: 79.84 kB / 1.258 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.029, allocations: 8 kB / 1.258 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003389/1.029, allocations: 43.52 kB / 1.258 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/1.029, allocations: 20 kB / 1.258 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000298/1.03, allocations: 252 kB / 1.259 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002422/1.03, allocations: 238.6 kB / 1.259 GB, free: 8.547 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003587/1.03, allocations: 331.7 kB / 1.259 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/1.03, allocations: 0 / 1.259 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005289/1.031, allocations: 392.7 kB / 1.259 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/1.031, allocations: 8 kB / 1.259 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/1.031, allocations: 4 kB / 1.259 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-06/1.031, allocations: 4 kB / 1.259 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002218/1.031, allocations: 75.91 kB / 1.26 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.031, allocations: 15.88 kB / 1.26 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/1.032, allocations: 27.83 kB / 1.26 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/1.032, allocations: 24.27 kB / 1.26 GB, free: 7.621 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.0001504/1.032, allocations: 208.1 kB / 1.26 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/1.032, allocations: 59.25 kB / 1.26 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004839/1.032, allocations: 282.5 kB / 1.26 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.184e-05/1.032, allocations: 15.95 kB / 1.26 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.032, allocations: 0 / 1.26 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003279/1.033, allocations: 379.4 kB / 1.261 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/1.034, allocations: 1.061 MB / 1.262 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/1.034, allocations: 288 / 1.262 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/1.034, allocations: 55.92 kB / 1.262 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/1.034, allocations: 4 kB / 1.262 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.189e-05/1.034, allocations: 11.98 kB / 1.262 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.03e-06/1.034, allocations: 4 kB / 1.262 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/1.034, allocations: 0 / 1.262 GB, free: 5.395 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005912/1.035, allocations: 0.518 MB / 1.262 GB, free: 4.832 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001931/1.035, allocations: 172.3 kB / 1.262 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.892e-05/1.035, allocations: 11.94 kB / 1.262 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003209/1.036, allocations: 20.05 kB / 1.262 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/1.036, allocations: 23.84 kB / 1.262 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/1.036, allocations: 19.98 kB / 1.262 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0004334/1.036, allocations: 407.1 kB / 1.263 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.6e-07/1.036, allocations: 0 / 1.263 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0009959/1.037, allocations: 359.2 kB / 1.263 GB, free: 3.82 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.0006575/1.038, allocations: 304.3 kB / 1.263 GB, free: 3.523 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0006342/1.038, allocations: 411.2 kB / 1.264 GB, free: 3.125 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/1.038, allocations: 4 kB / 1.264 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/1.039, allocations: 103.6 kB / 1.264 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001568/1.04, allocations: 385.6 kB / 1.264 GB, free: 2.656 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/1.042, allocations: 1.088 MB / 1.265 GB, free: 1.508 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004316/1.042, allocations: 0.8941 MB / 1.266 GB, free: 0.5859 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0004729/1.043, allocations: 152 kB / 1.266 GB, free: 452 kB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/1.043, allocations: 55.42 kB / 1.266 GB, free: 396 kB / 0.9825 GB Notification: Performance of SimCode: time 6.51e-07/1.043, allocations: 0 / 1.266 GB, free: 396 kB / 0.9825 GB Notification: Performance of Templates: time 0.02227/1.065, allocations: 12.97 MB / 1.279 GB, free: 3.59 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