Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.007358/0.007358, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001654/0.001654, allocations: 197.3 kB / 16.67 MB, free: 5.934 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.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.461/2.461, allocations: 437 MB / 0.7105 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 67.84 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8558/0.8571, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater): time 0.02642/0.8836, allocations: 26.29 MB / 1.192 GB, free: 9.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.01057/0.8942, allocations: 7.14 MB / 1.199 GB, free: 2.324 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001243/0.8955, allocations: 39.75 kB / 1.199 GB, free: 2.285 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001158/0.8967, allocations: 389.5 kB / 1.2 GB, free: 1.902 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.00295/0.8996, allocations: 1.164 MB / 1.201 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.9021, allocations: 0.9552 MB / 1.202 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002354/0.9044, allocations: 2.107 MB / 1.204 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007664/0.9052, allocations: 0.6138 MB / 1.204 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001607/0.9068, allocations: 0.7448 MB / 1.205 GB, free: 12.31 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006674/0.9075, allocations: 0.5366 MB / 1.206 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001022/0.9076, allocations: 55.98 kB / 1.206 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.9092, allocations: 0.811 MB / 1.206 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002004/0.9094, allocations: 175.3 kB / 1.207 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003932/0.9098, allocations: 382.2 kB / 1.207 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.9113, allocations: 1.215 MB / 1.208 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.9113, allocations: 4 kB / 1.208 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.542e-06/0.9114, allocations: 0 / 1.208 GB, free: 9.137 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.988e-06/0.9114, allocations: 4 kB / 1.208 GB, free: 9.133 MB / 0.9356 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.001459/0.9128, allocations: 1.077 MB / 1.209 GB, free: 8 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.9129, allocations: 8.031 kB / 1.209 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003072/0.9132, allocations: 88.42 kB / 1.209 GB, free: 7.906 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.9145, allocations: 0.7469 MB / 1.21 GB, free: 7.121 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.9145, allocations: 40.94 kB / 1.21 GB, free: 7.082 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.229e-05/0.9146, allocations: 47.95 kB / 1.21 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.9153, allocations: 0.5 MB / 1.211 GB, free: 6.504 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.965e-05/0.9154, allocations: 3.938 kB / 1.211 GB, free: 6.5 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.9154, allocations: 24 kB / 1.211 GB, free: 6.477 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.343e-05/0.9155, allocations: 12 kB / 1.211 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005072/0.916, allocations: 323.7 kB / 1.211 GB, free: 6.148 MB / 0.9356 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.002922/0.9189, allocations: 2.745 MB / 1.214 GB, free: 3.16 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.9192, allocations: 202.4 kB / 1.214 GB, free: 2.953 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001353/0.9194, allocations: 96.81 kB / 1.214 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003176/0.9197, allocations: 344.4 kB / 1.214 GB, free: 2.445 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.9197, allocations: 42.88 kB / 1.214 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=22): time 1.433e-06/0.9197, allocations: 0 / 1.214 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=22): time 0.0006228/0.9204, allocations: 303.8 kB / 1.215 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.748e-05/0.9204, allocations: 55.34 kB / 1.215 GB, free: 2.027 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/0.921, allocations: 0.5264 MB / 1.215 GB, free: 1.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.9211, allocations: 33.7 kB / 1.215 GB, free: 1.449 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.9213, allocations: 352.1 kB / 1.216 GB, free: 1.102 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.161e-05/0.9214, allocations: 87.39 kB / 1.216 GB, free: 1.016 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/0.9215, allocations: 85.59 kB / 1.216 GB, free: 0.9258 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.9217, allocations: 362.7 kB / 1.216 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001419/0.9218, allocations: 92.81 kB / 1.216 GB, free: 480 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.9221, allocations: 233.9 kB / 1.216 GB, free: 180 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003905/0.9225, allocations: 340.6 kB / 1.217 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.602e-06/0.9225, allocations: 4 kB / 1.217 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0005669/0.923, allocations: 400.1 kB / 1.217 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.9231, allocations: 4 kB / 1.217 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.778e-06/0.9231, allocations: 8 kB / 1.217 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.9231, allocations: 4 kB / 1.217 GB, free: 15.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.9234, allocations: 79.89 kB / 1.217 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.9234, allocations: 11.94 kB / 1.217 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.9237, allocations: 43.67 kB / 1.217 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.465e-05/0.9238, allocations: 19.98 kB / 1.217 GB, free: 15.22 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003112/0.9241, allocations: 244 kB / 1.217 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000262/0.9244, allocations: 238.7 kB / 1.218 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004013/0.9248, allocations: 334.1 kB / 1.218 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.813e-06/0.9248, allocations: 0 / 1.218 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=44) (initialization_lambda0): time 0.0005493/0.9254, allocations: 393 kB / 1.218 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.9254, allocations: 8 kB / 1.218 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.9254, allocations: 7.938 kB / 1.218 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/0.9254, allocations: 4 kB / 1.218 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.9256, allocations: 79.83 kB / 1.218 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.9256, allocations: 11.94 kB / 1.219 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002912/0.9259, allocations: 32.25 kB / 1.219 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.926, allocations: 19.98 kB / 1.219 GB, free: 13.75 MB / 0.9512 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.0001323/0.9261, allocations: 208.1 kB / 1.219 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.71e-05/0.9262, allocations: 59.62 kB / 1.219 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004824/0.9267, allocations: 277.2 kB / 1.219 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.194e-05/0.9267, allocations: 7.938 kB / 1.219 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.9267, allocations: 0 / 1.219 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003558/0.9271, allocations: 385.3 kB / 1.219 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/0.9285, allocations: 1.061 MB / 1.22 GB, free: 11.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.9286, allocations: 4.031 kB / 1.22 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001936/0.9288, allocations: 51.97 kB / 1.221 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.9288, allocations: 0 / 1.221 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.953e-05/0.9288, allocations: 12 kB / 1.221 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.9288, allocations: 7.938 kB / 1.221 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.9288, allocations: 3.984 kB / 1.221 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006082/0.9294, allocations: 0.5242 MB / 1.221 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002447/0.9297, allocations: 172.6 kB / 1.221 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.281e-05/0.9298, allocations: 12.06 kB / 1.221 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003244/0.9301, allocations: 15.98 kB / 1.221 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.365e-05/0.9301, allocations: 23.86 kB / 1.221 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.9302, allocations: 15.98 kB / 1.221 GB, free: 10.7 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.000436/0.9306, allocations: 419 kB / 1.222 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9306, allocations: 0 / 1.222 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0009285/0.9315, allocations: 347.2 kB / 1.222 GB, free: 9.953 MB / 0.9512 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.0006087/0.9322, allocations: 317.2 kB / 1.222 GB, free: 9.645 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005778/0.9327, allocations: 406.2 kB / 1.223 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9328, allocations: 2 kB / 1.223 GB, free: 9.25 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.9329, allocations: 111.8 kB / 1.223 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001599/0.9345, allocations: 381.4 kB / 1.223 GB, free: 8.781 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001624/0.9361, allocations: 1.095 MB / 1.224 GB, free: 7.633 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005455/0.9367, allocations: 0.8941 MB / 1.225 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0004591/0.9372, allocations: 161 kB / 1.225 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.9373, allocations: 51.42 kB / 1.225 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of SimCode: time 1.91e-07/0.9373, allocations: 0 / 1.225 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of Templates: time 0.02236/0.9597, allocations: 12.99 MB / 1.238 GB, free: 9.695 MB / 0.9669 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_CoupledVolumesWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.CoupledVolumesWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches