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.001784/0.001784, allocations: 108 kB / 15.99 MB, free: 6.348 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.001819/0.001819, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.372/1.372, allocations: 222.9 MB / 240.6 MB, free: 13.71 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.26/2.26, allocations: 390.3 MB / 0.665 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 65.94 kB / 0.8127 GB, free: 32.5 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2999/0.3012, allocations: 140.4 MB / 0.9498 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.8988/1.2, allocations: 239.8 MB / 1.184 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02393/1.224, allocations: 15.86 MB / 1.199 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00422/1.228, allocations: 74.34 kB / 1.199 GB, free: 2.527 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.003577/1.232, allocations: 1.047 MB / 1.2 GB, free: 1.961 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/1.243, allocations: 3.593 MB / 1.204 GB, free: 15.86 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.005648/1.249, allocations: 1.655 MB / 1.206 GB, free: 14.66 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.008595/1.257, allocations: 5.262 MB / 1.211 GB, free: 11.71 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002686/1.26, allocations: 1.615 MB / 1.212 GB, free: 10.68 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006289/1.266, allocations: 2.612 MB / 1.215 GB, free: 9.141 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004195/1.271, allocations: 1.815 MB / 1.217 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.000527/1.271, allocations: 172.8 kB / 1.217 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006726/1.278, allocations: 2.832 MB / 1.22 GB, free: 6.566 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001101/1.279, allocations: 0.7741 MB / 1.22 GB, free: 6.035 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.002115/1.281, allocations: 1.151 MB / 1.221 GB, free: 5.309 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.00461/1.286, allocations: 2.635 MB / 1.224 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/1.286, allocations: 0 / 1.224 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.864e-06/1.286, allocations: 0 / 1.224 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.368e-05/1.286, allocations: 0 / 1.224 GB, free: 3.641 MB / 0.8887 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.004937/1.291, allocations: 2.512 MB / 1.226 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/1.291, allocations: 7.312 kB / 1.226 GB, free: 1.836 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003122/1.294, allocations: 0.5004 MB / 1.227 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002375/1.296, allocations: 1.276 MB / 1.228 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001555/1.297, allocations: 172.4 kB / 1.228 GB, free: 0.5391 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000207/1.297, allocations: 152.5 kB / 1.229 GB, free: 500 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003017/1.3, allocations: 1.74 MB / 1.23 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/1.3, allocations: 6.781 kB / 1.23 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/1.3, allocations: 63.11 kB / 1.23 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.128e-05/1.3, allocations: 61.53 kB / 1.23 GB, free: 15.35 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/1.302, allocations: 1.379 MB / 1.232 GB, free: 14.68 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.01014/1.313, allocations: 8.198 MB / 1.24 GB, free: 7.363 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/1.314, allocations: 0.8981 MB / 1.241 GB, free: 6.898 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008413/1.315, allocations: 0.5368 MB / 1.241 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000633/1.316, allocations: 321.7 kB / 1.241 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.519e-05/1.316, allocations: 51.12 kB / 1.241 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=96): time 3.346e-06/1.316, allocations: 3.938 kB / 1.241 GB, free: 6.258 MB / 0.9044 GB Notification: Performance of matching and sorting (n=102): time 0.007638/1.323, allocations: 3.107 MB / 1.245 GB, free: 3.199 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.503e-05/1.324, allocations: 68.34 kB / 1.245 GB, free: 3.117 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00183/1.325, allocations: 1.27 MB / 1.246 GB, free: 1.84 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/1.326, allocations: 49.7 kB / 1.246 GB, free: 1.785 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006291/1.326, allocations: 0.8055 MB / 1.247 GB, free: 0.9688 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003479/1.327, allocations: 362.8 kB / 1.247 GB, free: 0.6094 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003879/1.327, allocations: 226.8 kB / 1.247 GB, free: 392 kB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001486/1.327, allocations: 349.9 kB / 1.248 GB, free: 36 kB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009688/1.328, allocations: 457.9 kB / 1.248 GB, free: 15.57 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.329, allocations: 0.8221 MB / 1.249 GB, free: 14.59 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001988/1.331, allocations: 1.248 MB / 1.25 GB, free: 13.22 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.267e-06/1.331, allocations: 3.938 kB / 1.25 GB, free: 13.21 MB / 0.92 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00266/1.334, allocations: 1.413 MB / 1.251 GB, free: 11.79 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/1.334, allocations: 8 kB / 1.251 GB, free: 11.79 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.061e-05/1.334, allocations: 8 kB / 1.251 GB, free: 11.78 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/1.334, allocations: 19.94 kB / 1.251 GB, free: 11.76 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.335, allocations: 275.6 kB / 1.252 GB, free: 11.49 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-05/1.335, allocations: 16.8 kB / 1.252 GB, free: 11.47 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/1.337, allocations: 174.2 kB / 1.252 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001276/1.337, allocations: 63.98 kB / 1.252 GB, free: 11.24 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001472/1.339, allocations: 0.764 MB / 1.253 GB, free: 10.47 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/1.34, allocations: 0.826 MB / 1.253 GB, free: 9.488 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001892/1.342, allocations: 1.233 MB / 1.255 GB, free: 8.125 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.993e-06/1.342, allocations: 0 / 1.255 GB, free: 8.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=150) (initialization_lambda0): time 0.002588/1.345, allocations: 1.394 MB / 1.256 GB, free: 6.727 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.345, allocations: 8 kB / 1.256 GB, free: 6.719 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.345, allocations: 12 kB / 1.256 GB, free: 6.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.65e-05/1.345, allocations: 12 kB / 1.256 GB, free: 6.695 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/1.346, allocations: 272.2 kB / 1.256 GB, free: 6.43 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-05/1.346, allocations: 29.95 kB / 1.256 GB, free: 6.402 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001813/1.348, allocations: 171.7 kB / 1.257 GB, free: 6.234 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/1.348, allocations: 52 kB / 1.257 GB, free: 6.184 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.0003831/1.348, allocations: 263.8 kB / 1.257 GB, free: 5.918 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004245/1.349, allocations: 166 kB / 1.257 GB, free: 5.754 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/1.351, allocations: 1.158 MB / 1.258 GB, free: 4.582 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/1.351, allocations: 8.875 kB / 1.258 GB, free: 4.574 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/1.351, allocations: 0 / 1.258 GB, free: 4.574 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001693/1.353, allocations: 1.083 MB / 1.259 GB, free: 3.441 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005667/1.358, allocations: 2.786 MB / 1.262 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/1.358, allocations: 0 / 1.262 GB, free: 0.5781 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/1.36, allocations: 247.7 kB / 1.262 GB, free: 344 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/1.36, allocations: 17.36 kB / 1.262 GB, free: 328 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/1.36, allocations: 27.98 kB / 1.262 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.777e-06/1.36, allocations: 8.219 kB / 1.262 GB, free: 292 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/1.36, allocations: 4 kB / 1.262 GB, free: 288 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003107/1.363, allocations: 1.769 MB / 1.264 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009425/1.364, allocations: 331 kB / 1.264 GB, free: 14.13 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003913/1.364, allocations: 31.92 kB / 1.264 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.366, allocations: 135.7 kB / 1.264 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/1.366, allocations: 68.94 kB / 1.264 GB, free: 13.9 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.852e-05/1.366, allocations: 43.98 kB / 1.265 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.001419/1.368, allocations: 0.8426 MB / 1.265 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.6e-07/1.368, allocations: 0 / 1.265 GB, free: 13.02 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.00269/1.37, allocations: 0.7695 MB / 1.266 GB, free: 12.25 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.0007053/1.371, allocations: 280 kB / 1.266 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004135/1.375, allocations: 2.002 MB / 1.268 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.375, allocations: 0 / 1.268 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0009472/1.376, allocations: 0.5215 MB / 1.269 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004458/1.381, allocations: 0.9142 MB / 1.27 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/1.387, allocations: 4.248 MB / 1.274 GB, free: 4.25 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001285/1.389, allocations: 1.445 MB / 1.275 GB, free: 2.773 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005366/1.389, allocations: 135.4 kB / 1.275 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of SimCode: time 8.31e-07/1.389, allocations: 0 / 1.275 GB, free: 2.641 MB / 0.9356 GB Notification: Performance of Templates: time 0.04175/1.431, allocations: 26.47 MB / 1.301 GB, free: 8.379 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