Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.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_9_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_9_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.001425/0.001425, allocations: 104 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.001591/0.001591, allocations: 189.7 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.332/1.332, 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 9.1.3-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.2 MB / 0.6653 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 69.36 kB / 0.8132 GB, free: 33.09 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.266/0.2673, allocations: 140.4 MB / 0.9503 GB, free: 8.926 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8386/1.106, allocations: 242.4 MB / 1.187 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02521/1.131, allocations: 15.9 MB / 1.203 GB, free: 0.6367 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003914/1.135, allocations: 77.62 kB / 1.203 GB, free: 0.6055 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004241/1.139, allocations: 1.184 MB / 1.204 GB, free: 15.62 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/1.151, allocations: 3.82 MB / 1.207 GB, free: 12.67 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005647/1.157, allocations: 1.797 MB / 1.209 GB, free: 11.31 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.007774/1.165, allocations: 5.249 MB / 1.214 GB, free: 8.359 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002681/1.168, allocations: 1.672 MB / 1.216 GB, free: 7.309 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006234/1.174, allocations: 2.598 MB / 1.219 GB, free: 5.766 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003905/1.178, allocations: 1.712 MB / 1.22 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.0004824/1.178, allocations: 176.7 kB / 1.22 GB, free: 4.773 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006691/1.185, allocations: 2.701 MB / 1.223 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.00143/1.186, allocations: 0.772 MB / 1.224 GB, free: 2.781 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002141/1.189, allocations: 1.146 MB / 1.225 GB, free: 2.059 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.006754/1.195, allocations: 3.515 MB / 1.228 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.738e-06/1.195, allocations: 0 / 1.228 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.433e-06/1.195, allocations: 10.78 kB / 1.228 GB, free: 15.79 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 5.325e-05/1.195, allocations: 0 / 1.228 GB, free: 15.79 MB / 0.9044 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.004683/1.2, allocations: 2.499 MB / 1.231 GB, free: 14 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/1.2, allocations: 10.62 kB / 1.231 GB, free: 14 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/1.203, allocations: 0.5038 MB / 1.231 GB, free: 13.76 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002595/1.206, allocations: 1.268 MB / 1.233 GB, free: 12.82 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/1.206, allocations: 176.8 kB / 1.233 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/1.206, allocations: 156.9 kB / 1.233 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/1.209, allocations: 1.74 MB / 1.235 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.809e-05/1.209, allocations: 3.938 kB / 1.235 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001427/1.209, allocations: 58.94 kB / 1.235 GB, free: 11.52 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-05/1.21, allocations: 63.41 kB / 1.235 GB, free: 11.51 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002489/1.212, allocations: 1.372 MB / 1.236 GB, free: 10.84 MB / 0.9044 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.01082/1.223, allocations: 8.266 MB / 1.244 GB, free: 3.504 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001564/1.224, allocations: 0.8972 MB / 1.245 GB, free: 2.801 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008303/1.225, allocations: 0.5341 MB / 1.245 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006043/1.226, allocations: 320.2 kB / 1.246 GB, free: 1.891 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/1.226, allocations: 47.56 kB / 1.246 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=96): time 4.007e-06/1.226, allocations: 0 / 1.246 GB, free: 1.836 MB / 0.9044 GB Notification: Performance of matching and sorting (n=102): time 0.007335/1.233, allocations: 3.12 MB / 1.249 GB, free: 14.66 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/1.233, allocations: 72.39 kB / 1.249 GB, free: 14.58 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/1.235, allocations: 1.258 MB / 1.25 GB, free: 13.31 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0001318/1.235, allocations: 49.7 kB / 1.25 GB, free: 13.26 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/1.236, allocations: 0.8093 MB / 1.251 GB, free: 12.44 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003628/1.236, allocations: 366.8 kB / 1.251 GB, free: 12.07 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003137/1.237, allocations: 226.8 kB / 1.252 GB, free: 11.85 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.237, allocations: 349.9 kB / 1.252 GB, free: 11.5 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008129/1.237, allocations: 449.8 kB / 1.252 GB, free: 11.05 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001086/1.239, allocations: 0.826 MB / 1.253 GB, free: 10.07 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/1.241, allocations: 1.252 MB / 1.254 GB, free: 8.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/1.241, allocations: 7.938 kB / 1.254 GB, free: 8.684 MB / 0.92 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002627/1.243, allocations: 1.406 MB / 1.256 GB, free: 7.266 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.239e-05/1.243, allocations: 8 kB / 1.256 GB, free: 7.258 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.363e-05/1.243, allocations: 12.09 kB / 1.256 GB, free: 7.246 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.103e-05/1.243, allocations: 20 kB / 1.256 GB, free: 7.227 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/1.244, allocations: 275.5 kB / 1.256 GB, free: 6.957 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.636e-05/1.244, allocations: 19.94 kB / 1.256 GB, free: 6.938 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/1.246, allocations: 69.19 kB / 1.256 GB, free: 6.871 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.674e-05/1.246, allocations: 52 kB / 1.256 GB, free: 6.82 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001416/1.247, allocations: 0.7753 MB / 1.257 GB, free: 6.043 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001066/1.249, allocations: 0.8143 MB / 1.258 GB, free: 5.07 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001859/1.25, allocations: 1.237 MB / 1.259 GB, free: 3.707 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.278e-06/1.25, allocations: 3.938 kB / 1.259 GB, free: 3.703 MB / 0.92 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002596/1.253, allocations: 1.399 MB / 1.26 GB, free: 2.297 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/1.253, allocations: 8 kB / 1.26 GB, free: 2.289 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/1.253, allocations: 12 kB / 1.26 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/1.253, allocations: 19.94 kB / 1.26 GB, free: 2.258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/1.254, allocations: 280.1 kB / 1.261 GB, free: 1.984 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/1.254, allocations: 19.94 kB / 1.261 GB, free: 1.965 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/1.256, allocations: 71.94 kB / 1.261 GB, free: 1.895 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.6e-05/1.256, allocations: 48 kB / 1.261 GB, free: 1.848 MB / 0.92 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.0004198/1.256, allocations: 260.4 kB / 1.261 GB, free: 1.586 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00039/1.257, allocations: 167 kB / 1.261 GB, free: 1.422 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/1.259, allocations: 1.167 MB / 1.262 GB, free: 248 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.08e-05/1.259, allocations: 8 kB / 1.262 GB, free: 240 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/1.259, allocations: 4 kB / 1.262 GB, free: 236 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001677/1.261, allocations: 1.083 MB / 1.263 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004777/1.266, allocations: 2.778 MB / 1.266 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-06/1.266, allocations: 0 / 1.266 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001197/1.267, allocations: 253 kB / 1.266 GB, free: 12 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-05/1.267, allocations: 7.938 kB / 1.266 GB, free: 11.99 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/1.267, allocations: 28 kB / 1.266 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/1.267, allocations: 7.984 kB / 1.266 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.267, allocations: 0 / 1.266 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003144/1.27, allocations: 1.765 MB / 1.268 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008122/1.271, allocations: 339 kB / 1.268 GB, free: 9.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/1.271, allocations: 31.92 kB / 1.268 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001012/1.272, allocations: 65.25 kB / 1.268 GB, free: 9.703 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/1.272, allocations: 56.92 kB / 1.269 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.589e-05/1.272, allocations: 43.97 kB / 1.269 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001127/1.274, allocations: 0.8427 MB / 1.269 GB, free: 8.766 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8.436e-06/1.274, allocations: 3.938 kB / 1.269 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002033/1.276, allocations: 0.7655 MB / 1.27 GB, free: 7.996 MB / 0.9356 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.0006862/1.276, allocations: 281 kB / 1.27 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.003951/1.28, allocations: 1.998 MB / 1.272 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/1.28, allocations: 4.125 kB / 1.272 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0008717/1.281, allocations: 0.5209 MB / 1.273 GB, free: 5.199 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004088/1.285, allocations: 0.9097 MB / 1.274 GB, free: 4.309 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006551/1.292, allocations: 3.58 MB / 1.277 GB, free: 0.6719 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001126/1.293, allocations: 1.445 MB / 1.279 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005305/1.294, allocations: 139.4 kB / 1.279 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of SimCode: time 8.92e-07/1.294, allocations: 0 / 1.279 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of Templates: time 0.04539/1.339, allocations: 26.48 MB / 1.305 GB, free: 4.789 MB / 0.9669 GB make -j1 -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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