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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001406/0.001406, allocations: 115.5 kB / 16.37 MB, free: 6.004 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.001494/0.001494, allocations: 195.6 kB / 17.31 MB, free: 5.613 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.605/2.605, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001333, allocations: 67.48 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2902, allocations: 153 MB / 1.027 GB, free: 2.051 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02751/0.3178, allocations: 26.29 MB / 1.052 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.01067/0.3285, allocations: 7.129 MB / 1.059 GB, free: 0.5117 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001369/0.3299, allocations: 35.81 kB / 1.059 GB, free: 488 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.3311, allocations: 393.4 kB / 1.06 GB, free: 92 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.3345, allocations: 1.104 MB / 1.061 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002436/0.3369, allocations: 0.96 MB / 1.062 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.00254/0.3395, allocations: 2.089 MB / 1.064 GB, free: 11.94 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008355/0.3403, allocations: 0.6137 MB / 1.064 GB, free: 11.31 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001674/0.342, allocations: 0.7306 MB / 1.065 GB, free: 10.58 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007308/0.3428, allocations: 0.5444 MB / 1.066 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.244e-05/0.3429, allocations: 52 kB / 1.066 GB, free: 9.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001595/0.3445, allocations: 0.8071 MB / 1.067 GB, free: 9.172 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0001807/0.3447, allocations: 175.4 kB / 1.067 GB, free: 9 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.3451, allocations: 382.1 kB / 1.067 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001706/0.3468, allocations: 1.204 MB / 1.068 GB, free: 7.418 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3468, allocations: 4 kB / 1.068 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.935e-06/0.3468, allocations: 0 / 1.068 GB, free: 7.414 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.3468, allocations: 3.938 kB / 1.068 GB, free: 7.41 MB / 0.8419 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.001504/0.3483, allocations: 1.051 MB / 1.069 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.3484, allocations: 12.03 kB / 1.069 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003012/0.3487, allocations: 84 kB / 1.069 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001267/0.35, allocations: 0.7373 MB / 1.07 GB, free: 5.434 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.348e-05/0.35, allocations: 36.94 kB / 1.07 GB, free: 5.398 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.753e-05/0.3501, allocations: 55.91 kB / 1.07 GB, free: 5.344 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008032/0.3509, allocations: 0.4962 MB / 1.071 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.3509, allocations: 0 / 1.071 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.025e-05/0.351, allocations: 16 kB / 1.071 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.005e-05/0.3511, allocations: 23.94 kB / 1.071 GB, free: 4.777 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005206/0.3516, allocations: 319.7 kB / 1.071 GB, free: 4.461 MB / 0.8419 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.002888/0.3545, allocations: 2.744 MB / 1.074 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003172/0.3548, allocations: 194.5 kB / 1.074 GB, free: 1.273 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001479/0.355, allocations: 100.8 kB / 1.074 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003727/0.3554, allocations: 348.5 kB / 1.074 GB, free: 0.7578 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.3554, allocations: 38.88 kB / 1.074 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=22): time 1.503e-06/0.3554, allocations: 0 / 1.074 GB, free: 0.7109 MB / 0.8419 GB Notification: Performance of matching and sorting (n=22): time 0.0005564/0.356, allocations: 298 kB / 1.075 GB, free: 424 kB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.356, allocations: 55.41 kB / 1.075 GB, free: 356 kB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.53/0.886, allocations: 0.5309 MB / 1.075 GB, free: 56.55 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 7.411e-05/0.8861, allocations: 31.36 kB / 1.075 GB, free: 56.52 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.8864, allocations: 342.9 kB / 1.076 GB, free: 56.44 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 9.039e-05/0.8865, allocations: 84.31 kB / 1.076 GB, free: 56.39 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001306/0.8866, allocations: 80.36 kB / 1.076 GB, free: 56.37 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.8867, allocations: 362.1 kB / 1.076 GB, free: 56.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001769/0.8869, allocations: 97.48 kB / 1.076 GB, free: 56.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002406/0.8872, allocations: 232.4 kB / 1.076 GB, free: 55.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004015/0.8876, allocations: 336.1 kB / 1.077 GB, free: 55.74 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.8876, allocations: 1.969 kB / 1.077 GB, free: 55.74 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0007023/0.8883, allocations: 393.3 kB / 1.077 GB, free: 55.66 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.8883, allocations: 10.27 kB / 1.077 GB, free: 55.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.8883, allocations: 4.375 kB / 1.077 GB, free: 55.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.8884, allocations: 9.688 kB / 1.077 GB, free: 55.66 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003276/0.8887, allocations: 80.5 kB / 1.077 GB, free: 55.65 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.8887, allocations: 6.781 kB / 1.077 GB, free: 55.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003741/0.8891, allocations: 37.19 kB / 1.077 GB, free: 55.63 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.8892, allocations: 18.48 kB / 1.077 GB, free: 55.63 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003302/0.8895, allocations: 250.4 kB / 1.077 GB, free: 55.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000249/0.8898, allocations: 234.7 kB / 1.078 GB, free: 55.3 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003387/0.8901, allocations: 327 kB / 1.078 GB, free: 55.06 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.8901, allocations: 3.141 kB / 1.078 GB, free: 55.06 MB / 0.8419 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0006074/0.8907, allocations: 389.6 kB / 1.078 GB, free: 54.89 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.8907, allocations: 11.77 kB / 1.078 GB, free: 54.89 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8908, allocations: 3.594 kB / 1.078 GB, free: 54.89 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.063e-06/0.8908, allocations: 6.906 kB / 1.078 GB, free: 54.89 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.891, allocations: 80.33 kB / 1.078 GB, free: 54.88 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.891, allocations: 11.78 kB / 1.078 GB, free: 54.88 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003151/0.8914, allocations: 33.88 kB / 1.078 GB, free: 54.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.816e-05/0.8914, allocations: 19.61 kB / 1.078 GB, free: 54.85 MB / 0.8419 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.0001159/0.8915, allocations: 210.9 kB / 1.079 GB, free: 54.65 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.771e-05/0.8916, allocations: 55.25 kB / 1.079 GB, free: 54.62 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005034/0.8921, allocations: 279.1 kB / 1.079 GB, free: 54.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.8921, allocations: 6.797 kB / 1.079 GB, free: 54.5 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8922, allocations: 7.766 kB / 1.079 GB, free: 54.49 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003052/0.8925, allocations: 380.5 kB / 1.079 GB, free: 54.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001425/0.8939, allocations: 1.06 MB / 1.08 GB, free: 53.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.8939, allocations: 7.594 kB / 1.08 GB, free: 53.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.8941, allocations: 51.03 kB / 1.08 GB, free: 53.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.8941, allocations: 3.562 kB / 1.08 GB, free: 53.47 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.8942, allocations: 9.922 kB / 1.08 GB, free: 53.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.8942, allocations: 4.484 kB / 1.081 GB, free: 53.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.8942, allocations: 3.953 kB / 1.081 GB, free: 53.46 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.8948, allocations: 0.5229 MB / 1.081 GB, free: 53.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/0.895, allocations: 175.4 kB / 1.081 GB, free: 52.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.165e-05/0.8951, allocations: 9.25 kB / 1.081 GB, free: 52.97 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003283/0.8954, allocations: 14.56 kB / 1.081 GB, free: 52.96 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.819e-05/0.8955, allocations: 25.67 kB / 1.081 GB, free: 52.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.502e-05/0.8955, allocations: 18.69 kB / 1.081 GB, free: 52.95 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004668/0.896, allocations: 408.3 kB / 1.082 GB, free: 52.76 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.4e-07/0.896, allocations: 1.906 kB / 1.082 GB, free: 52.76 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001057/0.8971, allocations: 353 kB / 1.082 GB, free: 52.7 MB / 0.8419 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.0006276/0.8977, allocations: 312 kB / 1.082 GB, free: 52.6 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0006952/0.8984, allocations: 405.5 kB / 1.083 GB, free: 52.47 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.8984, allocations: 5.031 kB / 1.083 GB, free: 52.47 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.8986, allocations: 105.9 kB / 1.083 GB, free: 52.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001572/0.9002, allocations: 383.2 kB / 1.083 GB, free: 52.36 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001536/0.9017, allocations: 1.083 MB / 1.084 GB, free: 51.71 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.9021, allocations: 0.8996 MB / 1.085 GB, free: 50.99 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005284/0.9027, allocations: 158.7 kB / 1.085 GB, free: 50.96 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001167/0.9028, allocations: 53.88 kB / 1.085 GB, free: 50.95 MB / 0.8419 GB Notification: Performance of SimCode: time 2.7e-07/0.9028, allocations: 0 / 1.085 GB, free: 50.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.02971/0.9325, allocations: 12.9 MB / 1.098 GB, free: 49.88 MB / 0.8419 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 -s cvode -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