Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.007522/0.007522, allocations: 101.5 kB / 15.73 MB, free: 5.965 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.001391/0.001391, allocations: 188.6 kB / 16.67 MB, free: 5.887 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.685/2.685, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 1.065 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8717/0.8732, allocations: 159.1 MB / 1.221 GB, free: 2.137 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.03066/0.9038, allocations: 26.33 MB / 1.246 GB, free: 7.707 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.9151, allocations: 7.15 MB / 1.253 GB, free: 0.5391 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001219/0.9163, allocations: 31.81 kB / 1.253 GB, free: 0.5078 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.9174, allocations: 401.4 kB / 1.254 GB, free: 116 kB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003076/0.9205, allocations: 1.17 MB / 1.255 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.923, allocations: 0.9551 MB / 1.256 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002907/0.9259, allocations: 2.093 MB / 1.258 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008082/0.9267, allocations: 0.5162 MB / 1.258 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001857/0.9286, allocations: 0.7543 MB / 1.259 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007326/0.9293, allocations: 0.5366 MB / 1.26 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.043e-05/0.9294, allocations: 56 kB / 1.26 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001697/0.9311, allocations: 0.8071 MB / 1.26 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000184/0.9313, allocations: 179.2 kB / 1.261 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0004925/0.9318, allocations: 386.1 kB / 1.261 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001833/0.9336, allocations: 1.211 MB / 1.262 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9336, allocations: 0 / 1.262 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.102e-06/0.9336, allocations: 0 / 1.262 GB, free: 7.445 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.9336, allocations: 4 kB / 1.262 GB, free: 7.441 MB / 0.9825 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.001637/0.9353, allocations: 1.081 MB / 1.263 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.9353, allocations: 8.625 kB / 1.263 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003144/0.9356, allocations: 96.42 kB / 1.263 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.9368, allocations: 0.7418 MB / 1.264 GB, free: 5.426 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.9369, allocations: 40.94 kB / 1.264 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.595e-05/0.9369, allocations: 44 kB / 1.264 GB, free: 5.344 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000785/0.9377, allocations: 0.5079 MB / 1.265 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.032e-05/0.9377, allocations: 0 / 1.265 GB, free: 4.809 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.9378, allocations: 20 kB / 1.265 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.9378, allocations: 15.94 kB / 1.265 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005923/0.9384, allocations: 327.7 kB / 1.265 GB, free: 4.449 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.002805/0.9412, allocations: 2.752 MB / 1.268 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.9415, allocations: 174.5 kB / 1.268 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.9417, allocations: 96.75 kB / 1.268 GB, free: 1.18 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003157/0.942, allocations: 336.4 kB / 1.268 GB, free: 0.7773 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.942, allocations: 54.75 kB / 1.268 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.942, allocations: 0 / 1.268 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=22): time 0.0006126/0.9426, allocations: 307.2 kB / 1.269 GB, free: 420 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.11e-05/0.9427, allocations: 51.41 kB / 1.269 GB, free: 356 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006126/0.9433, allocations: 0.5264 MB / 1.269 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.9433, allocations: 33.7 kB / 1.269 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000257/0.9436, allocations: 352.1 kB / 1.269 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.9436, allocations: 79.33 kB / 1.27 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.9437, allocations: 89.59 kB / 1.27 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.9439, allocations: 362.8 kB / 1.27 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.9441, allocations: 88.81 kB / 1.27 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.9443, allocations: 237.9 kB / 1.27 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004077/0.9447, allocations: 338.4 kB / 1.271 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/0.9447, allocations: 4 kB / 1.271 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005939/0.9453, allocations: 390.1 kB / 1.271 GB, free: 13.72 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9453, allocations: 8.562 kB / 1.271 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.9454, allocations: 7.938 kB / 1.271 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.9454, allocations: 8 kB / 1.271 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002832/0.9457, allocations: 79.89 kB / 1.271 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.9457, allocations: 11.94 kB / 1.271 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003556/0.946, allocations: 39.67 kB / 1.271 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.9461, allocations: 23.98 kB / 1.271 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003424/0.9464, allocations: 248 kB / 1.271 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000254/0.9467, allocations: 226 kB / 1.272 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003939/0.9471, allocations: 337.7 kB / 1.272 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.9471, allocations: 0 / 1.272 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005765/0.9476, allocations: 396.7 kB / 1.272 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.9476, allocations: 8 kB / 1.272 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.678e-06/0.9476, allocations: 4 kB / 1.272 GB, free: 12.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.9477, allocations: 8 kB / 1.272 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002479/0.9479, allocations: 75.91 kB / 1.272 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.9479, allocations: 19.86 kB / 1.272 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.9482, allocations: 27.84 kB / 1.272 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.931e-05/0.9483, allocations: 19.98 kB / 1.272 GB, free: 12.08 MB / 0.9981 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.0001448/0.9484, allocations: 208.2 kB / 1.273 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.9485, allocations: 59.62 kB / 1.273 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005009/0.949, allocations: 277.2 kB / 1.273 GB, free: 11.53 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.949, allocations: 7.938 kB / 1.273 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.949, allocations: 0 / 1.273 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003588/0.9494, allocations: 377.4 kB / 1.273 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001495/0.9509, allocations: 1.061 MB / 1.274 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.075e-06/0.9509, allocations: 0 / 1.274 GB, free: 9.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002312/0.9511, allocations: 64.12 kB / 1.274 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.171e-06/0.9511, allocations: 8 kB / 1.274 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.9511, allocations: 8 kB / 1.274 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.9512, allocations: 4 kB / 1.275 GB, free: 9.859 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.9512, allocations: 3.938 kB / 1.275 GB, free: 9.855 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006523/0.9518, allocations: 0.5184 MB / 1.275 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002084/0.952, allocations: 180.6 kB / 1.275 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.292e-05/0.9521, allocations: 4 kB / 1.275 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003511/0.9524, allocations: 20.05 kB / 1.275 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.106e-05/0.9525, allocations: 19.92 kB / 1.275 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.9525, allocations: 19.98 kB / 1.275 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004692/0.953, allocations: 411.1 kB / 1.276 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.953, allocations: 0 / 1.276 GB, free: 8.637 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001091/0.9541, allocations: 355.2 kB / 1.276 GB, free: 8.289 MB / 0.9981 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.0006797/0.9548, allocations: 325.3 kB / 1.276 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006636/0.9554, allocations: 390.6 kB / 1.277 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.9554, allocations: 0 / 1.277 GB, free: 7.598 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001486/0.9556, allocations: 101.5 kB / 1.277 GB, free: 7.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001616/0.9572, allocations: 374.6 kB / 1.277 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.9589, allocations: 1.106 MB / 1.278 GB, free: 5.977 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005467/0.9595, allocations: 0.8941 MB / 1.279 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005597/0.9601, allocations: 162.6 kB / 1.279 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/0.9602, allocations: 55.42 kB / 1.279 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of SimCode: time 6.41e-07/0.9602, allocations: 0 / 1.279 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of Templates: time 0.02445/0.9846, allocations: 13.05 MB / 1.292 GB, free: 7.984 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches