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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001662/0.001662, allocations: 110.5 kB / 16.41 MB, free: 6.465 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.00174/0.00174, allocations: 190.7 kB / 17.35 MB, free: 5.711 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.42/1.42, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.586/2.586, allocations: 472.7 MB / 0.746 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00137/0.00137, allocations: 63.91 kB / 1.07 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7199/0.7213, allocations: 159.9 MB / 1.226 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02807/0.7494, allocations: 26.29 MB / 1.252 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.009885/0.7593, allocations: 7.132 MB / 1.259 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001262/0.7606, allocations: 35.81 kB / 1.259 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.7619, allocations: 405.4 kB / 1.259 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.7648, allocations: 1.155 MB / 1.261 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.7671, allocations: 0.9601 MB / 1.261 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002595/0.7697, allocations: 2.101 MB / 1.264 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008798/0.7706, allocations: 0.6098 MB / 1.264 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001856/0.7725, allocations: 0.7471 MB / 1.265 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009654/0.7734, allocations: 0.5366 MB / 1.265 GB, free: 5.469 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001609/0.7736, allocations: 52 kB / 1.265 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001838/0.7755, allocations: 0.811 MB / 1.266 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0002632/0.7757, allocations: 171.4 kB / 1.266 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0005956/0.7763, allocations: 386.1 kB / 1.267 GB, free: 4.059 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002347/0.7787, allocations: 1.215 MB / 1.268 GB, free: 2.844 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.7787, allocations: 4 kB / 1.268 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7787, allocations: 0 / 1.268 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.406e-05/0.7788, allocations: 0 / 1.268 GB, free: 2.84 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.00187/0.7806, allocations: 1.081 MB / 1.269 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/0.7807, allocations: 15.97 kB / 1.269 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004284/0.7811, allocations: 92.42 kB / 1.269 GB, free: 1.598 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.7827, allocations: 0.7418 MB / 1.27 GB, free: 0.8164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.7828, allocations: 36.88 kB / 1.27 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.379e-05/0.7829, allocations: 52 kB / 1.27 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009028/0.7838, allocations: 0.4962 MB / 1.27 GB, free: 208 kB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.137e-05/0.7838, allocations: 0 / 1.27 GB, free: 208 kB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.595e-05/0.7839, allocations: 24 kB / 1.27 GB, free: 184 kB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.682e-05/0.7839, allocations: 15.94 kB / 1.27 GB, free: 168 kB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006323/0.7846, allocations: 323.8 kB / 1.271 GB, free: 15.84 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.003199/0.7878, allocations: 2.748 MB / 1.273 GB, free: 12.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003322/0.7881, allocations: 196.7 kB / 1.274 GB, free: 12.66 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001512/0.7883, allocations: 96.81 kB / 1.274 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003719/0.7887, allocations: 348.5 kB / 1.274 GB, free: 12.15 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.7887, allocations: 38.88 kB / 1.274 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=22): time 2.165e-06/0.7887, allocations: 4 kB / 1.274 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=22): time 0.0006671/0.7894, allocations: 305.1 kB / 1.274 GB, free: 11.79 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.012e-05/0.7894, allocations: 55.41 kB / 1.274 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007128/0.7901, allocations: 0.5264 MB / 1.275 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.57e-05/0.7902, allocations: 29.7 kB / 1.275 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002906/0.7905, allocations: 352.1 kB / 1.275 GB, free: 10.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.755e-05/0.7906, allocations: 87.31 kB / 1.275 GB, free: 10.72 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.7907, allocations: 85.59 kB / 1.275 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.7909, allocations: 362.8 kB / 1.276 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.7911, allocations: 92.77 kB / 1.276 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.7913, allocations: 237.9 kB / 1.276 GB, free: 9.875 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.7918, allocations: 346.1 kB / 1.276 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.7918, allocations: 0 / 1.276 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0006534/0.7924, allocations: 388.7 kB / 1.277 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.836e-05/0.7925, allocations: 12 kB / 1.277 GB, free: 9.086 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.7925, allocations: 7.984 kB / 1.277 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.853e-05/0.7925, allocations: 8 kB / 1.277 GB, free: 9.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000282/0.7928, allocations: 83.83 kB / 1.277 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.7928, allocations: 8 kB / 1.277 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003714/0.7932, allocations: 39.67 kB / 1.277 GB, free: 8.941 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.7932, allocations: 23.98 kB / 1.277 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003016/0.7936, allocations: 240.1 kB / 1.277 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002333/0.7938, allocations: 236.5 kB / 1.277 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000366/0.7942, allocations: 335.5 kB / 1.278 GB, free: 8.004 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/0.7942, allocations: 4 kB / 1.278 GB, free: 8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005669/0.7948, allocations: 389 kB / 1.278 GB, free: 7.613 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.7948, allocations: 8 kB / 1.278 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.7948, allocations: 4 kB / 1.278 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.175e-06/0.7948, allocations: 8 kB / 1.278 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.795, allocations: 79.84 kB / 1.278 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.7951, allocations: 11.98 kB / 1.278 GB, free: 7.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003282/0.7954, allocations: 28.12 kB / 1.278 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.7954, allocations: 31.92 kB / 1.278 GB, free: 7.445 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.000131/0.7956, allocations: 200.1 kB / 1.278 GB, free: 7.242 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.7957, allocations: 63.62 kB / 1.279 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000489/0.7962, allocations: 270.6 kB / 1.279 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003619/0.7966, allocations: 383.2 kB / 1.279 GB, free: 6.484 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.7966, allocations: 3.938 kB / 1.279 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002031/0.7968, allocations: 164.6 kB / 1.279 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.7969, allocations: 12 kB / 1.279 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003129/0.7972, allocations: 11.98 kB / 1.279 GB, free: 6.277 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.7972, allocations: 11.98 kB / 1.279 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005342/0.7978, allocations: 324.6 kB / 1.28 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006144/0.7984, allocations: 0.5472 MB / 1.28 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001304/0.7985, allocations: 100 kB / 1.28 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004177/0.7989, allocations: 366.8 kB / 1.281 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of Backend: time 7.41e-07/0.799, allocations: 0 / 1.281 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001757/0.8007, allocations: 0.6618 MB / 1.281 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of SimCode: time 0.002572/0.8033, allocations: 1.721 MB / 1.283 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of Templates: time 0.02337/0.8267, allocations: 13.2 MB / 1.296 GB, free: 5.441 MB / 1.014 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches