Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.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.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") translateModel(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.p|vol1.p|vol.T|vol1.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005396/0.005396, allocations: 100.5 kB / 15.73 MB, free: 6.027 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.001214/0.001214, allocations: 187 kB / 16.67 MB, free: 5.969 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7348 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 63.91 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3712, allocations: 157.4 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.04252/0.4138, allocations: 40.32 MB / 1.247 GB, free: 1.105 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6064/1.02, allocations: 4.075 MB / 1.251 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008128/1.021, allocations: 36.97 kB / 1.251 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008077/1.022, allocations: 352.7 kB / 1.251 GB, free: 3.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0053/1.027, allocations: 2.491 MB / 1.254 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002225/1.029, allocations: 0.9345 MB / 1.255 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002561/1.032, allocations: 2.192 MB / 1.257 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009191/1.033, allocations: 0.6363 MB / 1.258 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004163/1.037, allocations: 2.399 MB / 1.26 GB, free: 3.301 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009295/1.038, allocations: 0.5575 MB / 1.26 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 9.431e-05/1.038, allocations: 59.28 kB / 1.261 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006554/1.045, allocations: 3.196 MB / 1.264 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002947/1.045, allocations: 177.8 kB / 1.264 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006315/1.046, allocations: 395.5 kB / 1.264 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004383/1.05, allocations: 1.835 MB / 1.266 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/1.05, allocations: 0 / 1.266 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.434e-06/1.05, allocations: 0 / 1.266 GB, free: 2.781 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.622e-05/1.05, allocations: 1.656 kB / 1.266 GB, free: 2.781 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001864/1.052, allocations: 1.189 MB / 1.267 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/1.052, allocations: 9.766 kB / 1.267 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/1.053, allocations: 152.1 kB / 1.267 GB, free: 2.016 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001628/1.055, allocations: 0.7871 MB / 1.268 GB, free: 1.719 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/1.055, allocations: 37.91 kB / 1.268 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000115/1.055, allocations: 45.55 kB / 1.268 GB, free: 1.715 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/1.056, allocations: 0.5182 MB / 1.269 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/1.056, allocations: 1.094 kB / 1.269 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.664e-05/1.056, allocations: 20.31 kB / 1.269 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.913e-05/1.056, allocations: 13.16 kB / 1.269 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007669/1.057, allocations: 346.8 kB / 1.269 GB, free: 1.602 MB / 0.9981 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.003151/1.06, allocations: 2.451 MB / 1.271 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004327/1.061, allocations: 275.9 kB / 1.272 GB, free: 88 kB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/1.061, allocations: 133.6 kB / 1.272 GB, free: 80 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/1.062, allocations: 1.372 MB / 1.273 GB, free: 14.48 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/1.062, allocations: 41.7 kB / 1.273 GB, free: 14.45 MB / 1.014 GB Notification: Performance of pre-optimization done (n=31): time 2.505e-06/1.062, allocations: 0 / 1.273 GB, free: 14.45 MB / 1.014 GB Notification: Performance of matching and sorting (n=43): time 0.004783/1.067, allocations: 1.786 MB / 1.275 GB, free: 13.83 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/1.067, allocations: 59.31 kB / 1.275 GB, free: 13.76 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007428/1.068, allocations: 0.5037 MB / 1.275 GB, free: 13.64 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.016e-05/1.068, allocations: 31.7 kB / 1.276 GB, free: 13.61 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/1.068, allocations: 330.6 kB / 1.276 GB, free: 13.45 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001783/1.068, allocations: 158.2 kB / 1.276 GB, free: 13.35 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/1.068, allocations: 91.09 kB / 1.276 GB, free: 13.33 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001832/1.068, allocations: 371 kB / 1.276 GB, free: 13.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003018/1.069, allocations: 156.8 kB / 1.277 GB, free: 13 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/1.069, allocations: 259.4 kB / 1.277 GB, free: 12.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000676/1.07, allocations: 451.1 kB / 1.277 GB, free: 12.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/1.07, allocations: 1.188 kB / 1.277 GB, free: 12.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001143/1.071, allocations: 0.6023 MB / 1.278 GB, free: 12.67 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/1.071, allocations: 6.5 kB / 1.278 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/1.071, allocations: 4.406 kB / 1.278 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007417/1.072, allocations: 197.5 kB / 1.278 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002415/1.072, allocations: 74.69 kB / 1.278 GB, free: 12.65 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/1.073, allocations: 1.341 MB / 1.279 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004747/1.074, allocations: 21.22 kB / 1.279 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.6e-05/1.074, allocations: 25.22 kB / 1.279 GB, free: 11.61 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004797/1.074, allocations: 313.5 kB / 1.28 GB, free: 11.52 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003565/1.075, allocations: 266 kB / 1.28 GB, free: 11.4 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006648/1.075, allocations: 439.7 kB / 1.28 GB, free: 11.28 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.867e-06/1.075, allocations: 1.156 kB / 1.28 GB, free: 11.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.001092/1.076, allocations: 0.6076 MB / 1.281 GB, free: 11.19 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.076, allocations: 6.922 kB / 1.281 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/1.076, allocations: 2.938 kB / 1.281 GB, free: 11.19 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007658/1.077, allocations: 196.7 kB / 1.281 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002477/1.077, allocations: 67.28 kB / 1.281 GB, free: 11.17 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/1.079, allocations: 1.352 MB / 1.283 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004569/1.079, allocations: 19.8 kB / 1.283 GB, free: 10.12 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/1.079, allocations: 23.28 kB / 1.283 GB, free: 10.12 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (41): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,8), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0002545/1.079, allocations: 205.1 kB / 1.283 GB, free: 9.938 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001493/1.08, allocations: 65.52 kB / 1.283 GB, free: 9.902 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/1.081, allocations: 0.6297 MB / 1.284 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/1.081, allocations: 5.969 kB / 1.284 GB, free: 9.824 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/1.081, allocations: 3.938 kB / 1.284 GB, free: 9.82 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001138/1.082, allocations: 0.6514 MB / 1.284 GB, free: 9.547 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/1.085, allocations: 1.453 MB / 1.286 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.818e-06/1.085, allocations: 0.9688 kB / 1.286 GB, free: 9.203 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001909/1.085, allocations: 54.11 kB / 1.286 GB, free: 9.199 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001037/1.086, allocations: 216.3 kB / 1.286 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.179e-05/1.086, allocations: 14.22 kB / 1.286 GB, free: 9.176 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/1.087, allocations: 1.328 MB / 1.287 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/1.087, allocations: 1.281 kB / 1.287 GB, free: 8.133 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/1.089, allocations: 0.8814 MB / 1.288 GB, free: 7.926 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003725/1.089, allocations: 184.3 kB / 1.288 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.727e-05/1.09, allocations: 9.734 kB / 1.288 GB, free: 7.805 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003767/1.09, allocations: 16.91 kB / 1.288 GB, free: 7.801 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/1.09, allocations: 33 kB / 1.288 GB, free: 7.793 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.008e-05/1.09, allocations: 24.58 kB / 1.288 GB, free: 7.789 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005183/1.091, allocations: 357.6 kB / 1.289 GB, free: 7.703 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.41e-07/1.091, allocations: 0 / 1.289 GB, free: 7.703 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001945/1.093, allocations: 456.1 kB / 1.289 GB, free: 7.664 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (vol.dynBal.medium.T,vol1.dynBal.medium.T) * 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 (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(2,7), (2,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001142/1.094, allocations: 452.5 kB / 1.289 GB, free: 7.508 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00151/1.095, allocations: 0.6756 MB / 1.29 GB, free: 7.488 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.095, allocations: 0 / 1.29 GB, free: 7.488 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0005117/1.096, allocations: 251 kB / 1.29 GB, free: 7.477 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001538/1.097, allocations: 331.3 kB / 1.291 GB, free: 7.422 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002033/1.099, allocations: 1.194 MB / 1.292 GB, free: 6.875 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005492/1.1, allocations: 0.9155 MB / 1.293 GB, free: 6.168 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0005906/1.1, allocations: 206.3 kB / 1.293 GB, free: 6.121 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/1.101, allocations: 64.39 kB / 1.293 GB, free: 6.117 MB / 1.014 GB Notification: Performance of SimCode: time 4.41e-07/1.101, allocations: 0 / 1.293 GB, free: 6.117 MB / 1.014 GB Notification: Performance of Templates: time 0.03115/1.132, allocations: 17.41 MB / 1.31 GB, free: 2.73 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesGlycol47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches