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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009641/0.0009641, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 185.5 kB / 16.92 MB, free: 6.703 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.379/1.379, allocations: 223.3 MB / 241 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.648/2.648, allocations: 437.8 MB / 0.7128 GB, free: 6.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003878/0.0003881, allocations: 12 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7407/0.7411, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 1.011/1.752, allocations: 237.2 MB / 1.255 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.02459/1.777, allocations: 15.92 MB / 1.271 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003639/1.781, allocations: 70.16 kB / 1.271 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.003662/1.784, allocations: 1.014 MB / 1.272 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/1.796, allocations: 3.599 MB / 1.275 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005198/1.801, allocations: 1.615 MB / 1.277 GB, free: 1.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01022/1.811, allocations: 7.423 MB / 1.284 GB, free: 1.816 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002702/1.814, allocations: 1.381 MB / 1.286 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006284/1.82, allocations: 2.311 MB / 1.288 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004467/1.825, allocations: 1.734 MB / 1.29 GB, free: 1.566 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0004445/1.825, allocations: 87.5 kB / 1.29 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006936/1.832, allocations: 3.128 MB / 1.293 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001127/1.833, allocations: 0.6752 MB / 1.293 GB, free: 1.527 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.002253/1.835, allocations: 1.059 MB / 1.294 GB, free: 17.5 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004114/1.84, allocations: 2.567 MB / 1.297 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.84, allocations: 6.219 kB / 1.297 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.865e-06/1.84, allocations: 0 / 1.297 GB, free: 17.29 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.445e-05/1.84, allocations: 0 / 1.297 GB, free: 17.29 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.004149/1.844, allocations: 2.114 MB / 1.299 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/1.844, allocations: 6.75 kB / 1.299 GB, free: 16.16 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003036/1.847, allocations: 0.5074 MB / 1.299 GB, free: 16.05 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/1.849, allocations: 1.279 MB / 1.301 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/1.849, allocations: 174.1 kB / 1.301 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002092/1.85, allocations: 154.2 kB / 1.301 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002881/1.852, allocations: 1.752 MB / 1.303 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.335e-05/1.852, allocations: 2.875 kB / 1.303 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001458/1.853, allocations: 58.84 kB / 1.303 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.631e-05/1.853, allocations: 66.5 kB / 1.303 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/1.855, allocations: 1.389 MB / 1.304 GB, free: 15.27 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.009968/1.865, allocations: 8.225 MB / 1.312 GB, free: 10.39 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/1.867, allocations: 0.9121 MB / 1.313 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008047/1.868, allocations: 0.5474 MB / 1.314 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006247/1.868, allocations: 331 kB / 1.314 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.868, allocations: 47.28 kB / 1.314 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=96): time 2.815e-06/1.868, allocations: 0 / 1.314 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=102): time 0.006835/1.875, allocations: 3.163 MB / 1.317 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/1.875, allocations: 68.56 kB / 1.317 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001481/1.877, allocations: 1.264 MB / 1.318 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001026/1.877, allocations: 60.73 kB / 1.319 GB, free: 9.098 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000531/1.877, allocations: 0.811 MB / 1.319 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/1.878, allocations: 360.9 kB / 1.32 GB, free: 8.551 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001313/1.878, allocations: 104 kB / 1.32 GB, free: 8.535 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.878, allocations: 355.6 kB / 1.32 GB, free: 8.23 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007658/1.879, allocations: 445.8 kB / 1.321 GB, free: 8.227 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/1.88, allocations: 0.838 MB / 1.321 GB, free: 7.773 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001819/1.882, allocations: 1.268 MB / 1.323 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/1.882, allocations: 2.906 kB / 1.323 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002258/1.884, allocations: 1.421 MB / 1.324 GB, free: 7.266 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.00024/1.884, allocations: 372.1 kB / 1.324 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.884, allocations: 8.344 kB / 1.324 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/1.884, allocations: 18.44 kB / 1.324 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/1.885, allocations: 280.9 kB / 1.325 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.384e-05/1.885, allocations: 26.83 kB / 1.325 GB, free: 6.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00172/1.887, allocations: 170.7 kB / 1.325 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.592e-05/1.887, allocations: 55.03 kB / 1.325 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.356e-06/1.887, allocations: 5.969 kB / 1.325 GB, free: 6.801 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001926/1.889, allocations: 1.233 MB / 1.326 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.889, allocations: 13.66 kB / 1.326 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/1.889, allocations: 14.88 kB / 1.326 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009847/1.89, allocations: 280.9 kB / 1.326 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.803e-05/1.89, allocations: 25.39 kB / 1.326 GB, free: 6.766 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001656/1.892, allocations: 181 kB / 1.327 GB, free: 6.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.628e-05/1.892, allocations: 49.64 kB / 1.327 GB, free: 6.734 MB / 0.9981 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.0009557/1.893, allocations: 0.516 MB / 1.327 GB, free: 6.531 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002537/1.893, allocations: 162.7 kB / 1.327 GB, free: 6.449 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002074/1.895, allocations: 1.175 MB / 1.328 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/1.895, allocations: 9.375 kB / 1.328 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/1.895, allocations: 3.984 kB / 1.328 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001615/1.897, allocations: 1.097 MB / 1.329 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00501/1.902, allocations: 2.807 MB / 1.332 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/1.902, allocations: 2.938 kB / 1.332 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.903, allocations: 250.4 kB / 1.332 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.895e-05/1.903, allocations: 5.562 kB / 1.332 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/1.903, allocations: 33.05 kB / 1.333 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.97e-05/1.903, allocations: 10.11 kB / 1.333 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.903, allocations: 4.781 kB / 1.333 GB, free: 5.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003304/1.907, allocations: 1.796 MB / 1.334 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/1.908, allocations: 341.8 kB / 1.335 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/1.908, allocations: 23.12 kB / 1.335 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.909, allocations: 146.2 kB / 1.335 GB, free: 5.09 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001548/1.909, allocations: 63.33 kB / 1.335 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.823e-05/1.909, allocations: 44 kB / 1.335 GB, free: 5.059 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001187/1.91, allocations: 0.8449 MB / 1.336 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/1.91, allocations: 0 / 1.336 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002324/1.913, allocations: 0.769 MB / 1.336 GB, free: 4.797 MB / 0.9981 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.0006745/1.913, allocations: 275.5 kB / 1.337 GB, free: 4.656 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.003286/1.917, allocations: 1.757 MB / 1.338 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/1.917, allocations: 2.375 kB / 1.338 GB, free: 4.414 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008827/1.918, allocations: 0.5231 MB / 1.339 GB, free: 4.344 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/1.923, allocations: 0.9602 MB / 1.34 GB, free: 4.012 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00657/1.93, allocations: 4.448 MB / 1.344 GB, free: 1.297 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001054/1.931, allocations: 1.442 MB / 1.346 GB, free: 300 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005998/1.931, allocations: 140.2 kB / 1.346 GB, free: 288 kB / 0.9981 GB Notification: Performance of SimCode: time 6.32e-07/1.931, allocations: 4 kB / 1.346 GB, free: 284 kB / 0.9981 GB Notification: Performance of Templates: time 0.04654/1.978, allocations: 26.53 MB / 1.372 GB, free: 11.81 MB / 1.029 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=480 -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