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.001711/0.001711, allocations: 103.6 kB / 16.41 MB, free: 6.508 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.001688/0.001688, allocations: 192.2 kB / 17.34 MB, free: 5.742 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.657/2.657, allocations: 461.9 MB / 0.7354 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001539/0.001539, allocations: 63.89 kB / 1.055 GB, free: 7.641 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.966/0.9676, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47): time 0.04395/1.012, allocations: 40.33 MB / 1.248 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.008138/1.02, allocations: 4.088 MB / 1.252 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001438/1.021, allocations: 43.69 kB / 1.252 GB, free: 0.9766 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/1.022, allocations: 349.6 kB / 1.252 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.00724/1.03, allocations: 2.487 MB / 1.255 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002721/1.032, allocations: 0.9333 MB / 1.256 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003345/1.036, allocations: 2.202 MB / 1.258 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008975/1.037, allocations: 0.6295 MB / 1.258 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/1.041, allocations: 2.398 MB / 1.261 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009869/1.042, allocations: 0.5483 MB / 1.261 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001058/1.042, allocations: 60 kB / 1.261 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005726/1.048, allocations: 3.194 MB / 1.264 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002243/1.048, allocations: 187.3 kB / 1.265 GB, free: 3.973 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005173/1.049, allocations: 398 kB / 1.265 GB, free: 3.582 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.003573/1.052, allocations: 1.823 MB / 1.267 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.052, allocations: 0 / 1.267 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.973e-06/1.052, allocations: 0 / 1.267 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.004e-05/1.052, allocations: 0 / 1.267 GB, free: 1.754 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00164/1.054, allocations: 1.188 MB / 1.268 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/1.054, allocations: 8.031 kB / 1.268 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001232/1.055, allocations: 152 kB / 1.268 GB, free: 368 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/1.057, allocations: 0.797 MB / 1.269 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.429e-05/1.057, allocations: 29 kB / 1.269 GB, free: 15.49 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.485e-05/1.057, allocations: 48 kB / 1.269 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008114/1.058, allocations: 0.5273 MB / 1.269 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/1.058, allocations: 0 / 1.269 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/1.058, allocations: 20 kB / 1.269 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.59e-05/1.058, allocations: 15.98 kB / 1.269 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005258/1.058, allocations: 335.7 kB / 1.27 GB, free: 14.52 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.002545/1.061, allocations: 2.451 MB / 1.272 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004071/1.061, allocations: 272 kB / 1.272 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002018/1.061, allocations: 136.8 kB / 1.272 GB, free: 11.49 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009201/1.062, allocations: 1.378 MB / 1.274 GB, free: 9.797 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.858e-05/1.062, allocations: 34.56 kB / 1.274 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 1.372e-06/1.062, allocations: 0 / 1.274 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of matching and sorting (n=43): time 0.0043/1.067, allocations: 1.793 MB / 1.276 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.067, allocations: 59.34 kB / 1.276 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000627/1.067, allocations: 0.5029 MB / 1.276 GB, free: 7.281 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.945e-05/1.068, allocations: 29.7 kB / 1.276 GB, free: 7.246 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002604/1.068, allocations: 324.4 kB / 1.277 GB, free: 6.922 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001373/1.068, allocations: 157.8 kB / 1.277 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/1.068, allocations: 98.14 kB / 1.277 GB, free: 6.664 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.068, allocations: 366.8 kB / 1.277 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/1.068, allocations: 155 kB / 1.277 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/1.069, allocations: 268.8 kB / 1.278 GB, free: 5.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005749/1.069, allocations: 452.8 kB / 1.278 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.069, allocations: 4 kB / 1.278 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009265/1.07, allocations: 0.5915 MB / 1.279 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/1.07, allocations: 8.375 kB / 1.279 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/1.07, allocations: 8 kB / 1.279 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007129/1.071, allocations: 197.5 kB / 1.279 GB, free: 4.535 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/1.071, allocations: 67.91 kB / 1.279 GB, free: 4.469 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001082/1.072, allocations: 1.351 MB / 1.28 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/1.073, allocations: 19.89 kB / 1.28 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.302e-05/1.073, allocations: 24 kB / 1.28 GB, free: 3.023 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004294/1.073, allocations: 309.2 kB / 1.28 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003155/1.074, allocations: 274.5 kB / 1.281 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005609/1.074, allocations: 434.8 kB / 1.281 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.036e-06/1.074, allocations: 0 / 1.281 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=57) (initialization_lambda0): time 0.0009267/1.075, allocations: 0.5994 MB / 1.282 GB, free: 1.324 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/1.075, allocations: 19.95 kB / 1.282 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.286e-06/1.075, allocations: 0 / 1.282 GB, free: 1.305 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006257/1.076, allocations: 193.6 kB / 1.282 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002079/1.076, allocations: 71.91 kB / 1.282 GB, free: 1.039 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/1.077, allocations: 1.351 MB / 1.283 GB, free: 15.64 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003555/1.077, allocations: 11.98 kB / 1.283 GB, free: 15.62 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/1.077, allocations: 24 kB / 1.283 GB, free: 15.6 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.0001856/1.078, allocations: 216.2 kB / 1.284 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/1.078, allocations: 59.25 kB / 1.284 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001211/1.079, allocations: 0.6261 MB / 1.284 GB, free: 14.69 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.074e-05/1.079, allocations: 7.938 kB / 1.284 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.079, allocations: 0 / 1.284 GB, free: 14.68 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008696/1.08, allocations: 0.6552 MB / 1.285 GB, free: 13.97 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/1.082, allocations: 1.461 MB / 1.286 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/1.082, allocations: 4.031 kB / 1.286 GB, free: 12.44 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/1.082, allocations: 43.97 kB / 1.286 GB, free: 12.39 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008928/1.083, allocations: 217.5 kB / 1.287 GB, free: 12.18 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.049e-05/1.083, allocations: 15.94 kB / 1.287 GB, free: 12.16 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001009/1.084, allocations: 1.323 MB / 1.288 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/1.084, allocations: 0 / 1.288 GB, free: 10.79 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/1.086, allocations: 0.8875 MB / 1.289 GB, free: 9.871 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002338/1.086, allocations: 184.4 kB / 1.289 GB, free: 9.672 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/1.086, allocations: 8 kB / 1.289 GB, free: 9.664 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003631/1.086, allocations: 15.94 kB / 1.289 GB, free: 9.648 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.351e-05/1.086, allocations: 35.97 kB / 1.289 GB, free: 9.613 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/1.086, allocations: 23.98 kB / 1.289 GB, free: 9.59 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0004319/1.087, allocations: 354.8 kB / 1.289 GB, free: 9.246 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.81e-07/1.087, allocations: 4 kB / 1.289 GB, free: 9.242 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001374/1.088, allocations: 459.8 kB / 1.29 GB, free: 8.793 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.0009639/1.089, allocations: 439 kB / 1.29 GB, free: 8.363 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001287/1.09, allocations: 0.6836 MB / 1.291 GB, free: 7.68 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.09, allocations: 128 / 1.291 GB, free: 7.68 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0004733/1.091, allocations: 256.1 kB / 1.291 GB, free: 7.43 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001437/1.092, allocations: 327.1 kB / 1.291 GB, free: 7.121 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002107/1.095, allocations: 1.228 MB / 1.293 GB, free: 5.859 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005109/1.095, allocations: 0.9143 MB / 1.293 GB, free: 4.918 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/1.095, allocations: 67.41 kB / 1.294 GB, free: 4.852 MB / 1.014 GB Notification: Performance of SimCode: time 2.214e-06/1.095, allocations: 0 / 1.294 GB, free: 4.852 MB / 1.014 GB Notification: Performance of Templates: time 0.02351/1.119, allocations: 18.45 MB / 1.312 GB, free: 2.492 MB / 1.029 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesGlycol47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches