Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.dynBal.m|vol.T|sou.ports.1..m_flow|vol.ports.2..m_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001383/0.001383, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.9 MB / 0.666 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.000384, allocations: 12 kB / 0.8153 GB, free: 13.69 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7818/0.7822, allocations: 142.4 MB / 0.9544 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1923/0.9745, allocations: 161 MB / 1.112 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.007223/0.9818, allocations: 4.135 MB / 1.116 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000803/0.9826, allocations: 23.81 kB / 1.116 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0008414/0.9835, allocations: 242.5 kB / 1.116 GB, free: 9.844 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.00282/0.9863, allocations: 0.9097 MB / 1.117 GB, free: 8.93 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002116/0.9885, allocations: 0.5368 MB / 1.117 GB, free: 8.398 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002545/0.991, allocations: 1.875 MB / 1.119 GB, free: 6.516 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006527/0.9917, allocations: 388.3 kB / 1.12 GB, free: 6.137 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001336/0.993, allocations: 0.5679 MB / 1.12 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000846/0.9939, allocations: 462.2 kB / 1.121 GB, free: 5.113 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 6.122e-05/0.9939, allocations: 27.94 kB / 1.121 GB, free: 5.086 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002072/0.996, allocations: 0.8106 MB / 1.121 GB, free: 4.273 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0002672/0.9963, allocations: 199.4 kB / 1.122 GB, free: 4.078 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0001895/0.9965, allocations: 161.4 kB / 1.122 GB, free: 3.914 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.001267/0.9978, allocations: 0.8573 MB / 1.123 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/0.9978, allocations: 0 / 1.123 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9978, allocations: 0 / 1.123 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.871e-05/0.9978, allocations: 0 / 1.123 GB, free: 3.055 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001665/0.9995, allocations: 0.8934 MB / 1.123 GB, free: 2.109 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.9996, allocations: 12.03 kB / 1.123 GB, free: 2.098 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001016/1.001, allocations: 175 kB / 1.124 GB, free: 1.926 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007912/1.001, allocations: 0.5092 MB / 1.124 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.202e-05/1.001, allocations: 37 kB / 1.124 GB, free: 1.34 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.894e-05/1.002, allocations: 43.95 kB / 1.124 GB, free: 1.297 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008551/1.002, allocations: 478.3 kB / 1.125 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/1.002, allocations: 0 / 1.125 GB, free: 0.8242 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.706e-05/1.002, allocations: 16 kB / 1.125 GB, free: 0.8086 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.753e-05/1.002, allocations: 13 kB / 1.125 GB, free: 0.7969 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008138/1.003, allocations: 427.7 kB / 1.125 GB, free: 388 kB / 0.8731 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.002586/1.006, allocations: 2.032 MB / 1.127 GB, free: 14.17 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005085/1.006, allocations: 290.7 kB / 1.127 GB, free: 13.88 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003074/1.007, allocations: 196.8 kB / 1.128 GB, free: 13.68 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002723/1.007, allocations: 190.2 kB / 1.128 GB, free: 13.46 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/1.007, allocations: 34.56 kB / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=30): time 1.353e-06/1.007, allocations: 0 / 1.128 GB, free: 13.41 MB / 0.8887 GB Notification: Performance of matching and sorting (n=30): time 0.001495/1.009, allocations: 0.6598 MB / 1.128 GB, free: 12.73 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/1.009, allocations: 59.41 kB / 1.128 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004961/1.009, allocations: 445.9 kB / 1.129 GB, free: 12.21 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.381e-05/1.009, allocations: 29.7 kB / 1.129 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002047/1.009, allocations: 284.2 kB / 1.129 GB, free: 11.89 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 9.614e-05/1.009, allocations: 106.4 kB / 1.129 GB, free: 11.79 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.825e-05/1.01, allocations: 11.94 kB / 1.129 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.01, allocations: 354.8 kB / 1.13 GB, free: 11.42 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/1.01, allocations: 127.9 kB / 1.13 GB, free: 11.3 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/1.01, allocations: 210.7 kB / 1.13 GB, free: 11.07 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002908/1.011, allocations: 160.5 kB / 1.13 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/1.011, allocations: 0 / 1.13 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000709/1.011, allocations: 412.9 kB / 1.131 GB, free: 10.5 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.944e-05/1.011, allocations: 127.1 kB / 1.131 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.011, allocations: 0 / 1.131 GB, free: 10.36 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.011, allocations: 8.062 kB / 1.131 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/1.012, allocations: 75.89 kB / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/1.012, allocations: 7.938 kB / 1.131 GB, free: 10.27 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004585/1.012, allocations: 63.64 kB / 1.131 GB, free: 10.2 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.592e-05/1.012, allocations: 12 kB / 1.131 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.012, allocations: 4 kB / 1.131 GB, free: 10.19 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006075/1.013, allocations: 347.9 kB / 1.131 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/1.013, allocations: 0 / 1.131 GB, free: 9.848 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-06/1.013, allocations: 4 kB / 1.131 GB, free: 9.844 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/1.013, allocations: 67.91 kB / 1.131 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/1.013, allocations: 0 / 1.131 GB, free: 9.777 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000433/1.014, allocations: 59.92 kB / 1.131 GB, free: 9.719 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/1.014, allocations: 12 kB / 1.131 GB, free: 9.707 MB / 0.8887 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002909/1.014, allocations: 293 kB / 1.132 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.992e-05/1.014, allocations: 51.34 kB / 1.132 GB, free: 9.359 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008307/1.015, allocations: 424.6 kB / 1.132 GB, free: 8.934 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.015, allocations: 8 kB / 1.132 GB, free: 8.926 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.015, allocations: 4.016 kB / 1.132 GB, free: 8.922 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006624/1.016, allocations: 461.4 kB / 1.132 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/1.017, allocations: 1.138 MB / 1.134 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/1.017, allocations: 0 / 1.134 GB, free: 7.219 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002829/1.018, allocations: 59.91 kB / 1.134 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002419/1.018, allocations: 49.03 kB / 1.134 GB, free: 7.109 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/1.018, allocations: 12 kB / 1.134 GB, free: 7.098 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00129/1.019, allocations: 1.437 MB / 1.135 GB, free: 5.527 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.019, allocations: 8 kB / 1.135 GB, free: 5.52 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/1.02, allocations: 0.7011 MB / 1.136 GB, free: 4.777 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002078/1.021, allocations: 168.5 kB / 1.136 GB, free: 4.594 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.041e-05/1.021, allocations: 15.95 kB / 1.136 GB, free: 4.578 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/1.021, allocations: 41.52 kB / 1.136 GB, free: 4.539 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/1.021, allocations: 23.97 kB / 1.136 GB, free: 4.516 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.034e-05/1.021, allocations: 12 kB / 1.136 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0003756/1.022, allocations: 310.9 kB / 1.136 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of sort global known variables: time 2.41e-07/1.022, allocations: 0 / 1.136 GB, free: 4.203 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001043/1.023, allocations: 307.2 kB / 1.137 GB, free: 3.902 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005666/1.023, allocations: 182.9 kB / 1.137 GB, free: 3.723 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.00109/1.024, allocations: 0.4956 MB / 1.137 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.169e-06/1.024, allocations: 0 / 1.137 GB, free: 3.227 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0005828/1.025, allocations: 293.2 kB / 1.138 GB, free: 2.93 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001557/1.027, allocations: 314.2 kB / 1.138 GB, free: 2.629 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/1.029, allocations: 1.349 MB / 1.139 GB, free: 1.227 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005888/1.029, allocations: 0.9017 MB / 1.14 GB, free: 304 kB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0006699/1.03, allocations: 168.3 kB / 1.14 GB, free: 136 kB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001232/1.03, allocations: 47.42 kB / 1.14 GB, free: 88 kB / 0.8887 GB Notification: Performance of SimCode: time 1.433e-06/1.03, allocations: 0 / 1.14 GB, free: 88 kB / 0.8887 GB Notification: Performance of Templates: time 0.01882/1.049, allocations: 9.495 MB / 1.15 GB, free: 6.746 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches