Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.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.MixingVolume,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.medium.T|vol1.T|vol2.T|res1.m_flow|res2.m_flow|cheEqu1.y|cheEqu2.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolume,tolerance=1e-09,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.medium.T|vol1.T|vol2.T|res1.m_flow|res2.m_flow|cheEqu1.y|cheEqu2.y",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001296/0.001296, allocations: 105.7 kB / 16.27 MB, free: 6.414 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.001255/0.001255, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.384/1.384, allocations: 222.9 MB / 240.9 MB, free: 15.23 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.559/2.559, allocations: 437.1 MB / 0.7111 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002007/0.002007, allocations: 68.61 kB / 0.8699 GB, free: 2.223 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3436, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.9185/1.262, allocations: 242.4 MB / 1.255 GB, free: 6.941 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02988/1.292, allocations: 15.89 MB / 1.27 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003876/1.296, allocations: 79.5 kB / 1.27 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004266/1.3, allocations: 1.184 MB / 1.271 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01312/1.313, allocations: 3.811 MB / 1.275 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.006248/1.32, allocations: 1.808 MB / 1.277 GB, free: 120 kB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.009823/1.33, allocations: 5.254 MB / 1.282 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004042/1.334, allocations: 1.669 MB / 1.284 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007962/1.342, allocations: 2.6 MB / 1.286 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004685/1.346, allocations: 1.71 MB / 1.288 GB, free: 4.848 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0008778/1.347, allocations: 176 kB / 1.288 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007357/1.355, allocations: 2.697 MB / 1.291 GB, free: 1.973 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.00177/1.356, allocations: 0.7674 MB / 1.291 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003332/1.36, allocations: 1.151 MB / 1.293 GB, free: 48 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008361/1.368, allocations: 3.513 MB / 1.296 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/1.368, allocations: 8 kB / 1.296 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.443e-06/1.368, allocations: 0 / 1.296 GB, free: 12.52 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.254e-05/1.368, allocations: 0 / 1.296 GB, free: 12.52 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: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.005518/1.374, allocations: 2.503 MB / 1.298 GB, free: 9.957 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/1.374, allocations: 12.92 kB / 1.298 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/1.377, allocations: 0.5048 MB / 1.299 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002616/1.38, allocations: 1.265 MB / 1.3 GB, free: 8.117 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002699/1.38, allocations: 182.2 kB / 1.3 GB, free: 7.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002516/1.38, allocations: 152 kB / 1.301 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/1.384, allocations: 1.741 MB / 1.302 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/1.384, allocations: 11.88 kB / 1.302 GB, free: 5.949 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001481/1.384, allocations: 60 kB / 1.302 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8e-05/1.384, allocations: 58.69 kB / 1.302 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002775/1.387, allocations: 1.381 MB / 1.304 GB, free: 4.445 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.01275/1.399, allocations: 8.257 MB / 1.312 GB, free: 11.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/1.401, allocations: 0.8993 MB / 1.313 GB, free: 10.58 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009692/1.402, allocations: 0.5346 MB / 1.313 GB, free: 10.05 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006817/1.403, allocations: 324.4 kB / 1.313 GB, free: 9.676 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.006e-05/1.403, allocations: 43.56 kB / 1.314 GB, free: 9.625 MB / 1.014 GB Notification: Performance of pre-optimization done (n=96): time 2.935e-06/1.403, allocations: 0 / 1.314 GB, free: 9.625 MB / 1.014 GB Notification: Performance of matching and sorting (n=102): time 0.007677/1.411, allocations: 3.124 MB / 1.317 GB, free: 6.449 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001142/1.411, allocations: 64.41 kB / 1.317 GB, free: 6.371 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001931/1.413, allocations: 1.262 MB / 1.318 GB, free: 5.102 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/1.413, allocations: 49.7 kB / 1.318 GB, free: 5.047 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008306/1.414, allocations: 0.8132 MB / 1.319 GB, free: 4.223 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003775/1.414, allocations: 370.8 kB / 1.319 GB, free: 3.855 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/1.415, allocations: 222.8 kB / 1.319 GB, free: 3.629 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001847/1.415, allocations: 349.9 kB / 1.32 GB, free: 3.281 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009481/1.416, allocations: 449.8 kB / 1.32 GB, free: 2.84 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001257/1.417, allocations: 0.826 MB / 1.321 GB, free: 1.852 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/1.419, allocations: 1.248 MB / 1.322 GB, free: 492 kB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.162e-06/1.419, allocations: 3.938 kB / 1.322 GB, free: 488 kB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002787/1.422, allocations: 1.413 MB / 1.323 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/1.422, allocations: 8.219 kB / 1.323 GB, free: 15.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.27e-05/1.422, allocations: 19.94 kB / 1.323 GB, free: 15.02 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.208e-05/1.422, allocations: 15.98 kB / 1.323 GB, free: 15.01 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/1.423, allocations: 275.6 kB / 1.324 GB, free: 14.74 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.861e-05/1.423, allocations: 19.94 kB / 1.324 GB, free: 14.72 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001405/1.425, allocations: 68.56 kB / 1.324 GB, free: 14.65 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.444e-05/1.425, allocations: 56 kB / 1.324 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001598/1.426, allocations: 0.764 MB / 1.325 GB, free: 13.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001274/1.428, allocations: 0.8299 MB / 1.325 GB, free: 12.83 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002114/1.43, allocations: 1.229 MB / 1.327 GB, free: 11.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.918e-06/1.43, allocations: 0 / 1.327 GB, free: 11.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002778/1.433, allocations: 1.393 MB / 1.328 GB, free: 10.07 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/1.433, allocations: 8 kB / 1.328 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.258e-05/1.433, allocations: 12 kB / 1.328 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/1.433, allocations: 12 kB / 1.328 GB, free: 10.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/1.434, allocations: 280.7 kB / 1.328 GB, free: 9.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.226e-05/1.434, allocations: 19.94 kB / 1.328 GB, free: 9.75 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.435, allocations: 71.94 kB / 1.328 GB, free: 9.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/1.435, allocations: 56.86 kB / 1.328 GB, free: 9.625 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0004327/1.436, allocations: 267.8 kB / 1.329 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002845/1.436, allocations: 166 kB / 1.329 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002531/1.439, allocations: 1.166 MB / 1.33 GB, free: 8.008 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/1.439, allocations: 8 kB / 1.33 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.439, allocations: 0 / 1.33 GB, free: 8 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001912/1.441, allocations: 1.083 MB / 1.331 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005171/1.446, allocations: 2.782 MB / 1.334 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.446, allocations: 0 / 1.334 GB, free: 4.008 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0012/1.447, allocations: 251.8 kB / 1.334 GB, free: 3.762 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.359e-05/1.447, allocations: 11.94 kB / 1.334 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/1.447, allocations: 27.98 kB / 1.334 GB, free: 3.723 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/1.447, allocations: 8 kB / 1.334 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/1.447, allocations: 0 / 1.334 GB, free: 3.715 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00322/1.45, allocations: 1.766 MB / 1.336 GB, free: 1.91 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007445/1.451, allocations: 335 kB / 1.336 GB, free: 1.562 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.451, allocations: 27.94 kB / 1.336 GB, free: 1.535 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001006/1.452, allocations: 51.94 kB / 1.336 GB, free: 1.484 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001556/1.452, allocations: 68.95 kB / 1.336 GB, free: 1.418 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.03e-05/1.453, allocations: 43.97 kB / 1.336 GB, free: 1.375 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001264/1.454, allocations: 0.8426 MB / 1.337 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/1.454, allocations: 0 / 1.337 GB, free: 0.5352 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.002263/1.456, allocations: 0.7617 MB / 1.338 GB, free: 15.77 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m) * 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 (102): * Single equations (assignments): 102 * 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 Backend phase and start with SimCode phase: time 0.0007092/1.457, allocations: 275.6 kB / 1.338 GB, free: 15.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004268/1.461, allocations: 1.998 MB / 1.34 GB, free: 13.51 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.461, allocations: 4 kB / 1.34 GB, free: 13.5 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0009671/1.462, allocations: 0.5171 MB / 1.341 GB, free: 12.99 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004142/1.466, allocations: 0.9234 MB / 1.341 GB, free: 12.09 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007375/1.474, allocations: 3.583 MB / 1.345 GB, free: 8.449 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001417/1.475, allocations: 1.449 MB / 1.346 GB, free: 6.965 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006084/1.476, allocations: 139.4 kB / 1.347 GB, free: 6.828 MB / 1.045 GB Notification: Performance of SimCode: time 1.603e-06/1.476, allocations: 0 / 1.347 GB, free: 6.828 MB / 1.045 GB Notification: Performance of Templates: time 0.04976/1.525, allocations: 26.49 MB / 1.372 GB, free: 12.54 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,vol.medium.T,vol1.T,vol2.T,res1.m_flow,res2.m_flow,cheEqu1.y,cheEqu2.y Variables in the result:cheEqu1.y,cheEqu2.y,res1.m_flow,res2.m_flow,time,vol.medium.T,vol1.T,vol2.T