Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.00103/0.00103, allocations: 99.58 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.001249/0.001249, allocations: 183.2 kB / 16.92 MB, free: 6.918 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.401/1.401, allocations: 223.3 MB / 241 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.696/2.696, allocations: 462.6 MB / 0.737 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003667/0.0003669, allocations: 10.94 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3596, allocations: 159.6 MB / 1.059 GB, free: 4.996 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolume): time 0.9353/1.295, allocations: 237.2 MB / 1.291 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0262/1.321, allocations: 15.91 MB / 1.307 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003802/1.325, allocations: 70.31 kB / 1.307 GB, free: 2.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003542/1.329, allocations: 1.013 MB / 1.308 GB, free: 2.152 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01182/1.34, allocations: 3.606 MB / 1.311 GB, free: 1.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006006/1.346, allocations: 1.62 MB / 1.313 GB, free: 1.906 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0116/1.358, allocations: 7.414 MB / 1.32 GB, free: 1.898 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/1.362, allocations: 1.392 MB / 1.321 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007685/1.369, allocations: 2.301 MB / 1.324 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00592/1.375, allocations: 1.726 MB / 1.325 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0007163/1.376, allocations: 83.88 kB / 1.325 GB, free: 1.637 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008212/1.384, allocations: 3.135 MB / 1.328 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001382/1.386, allocations: 0.6801 MB / 1.329 GB, free: 1.594 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002713/1.388, allocations: 1.063 MB / 1.33 GB, free: 17.56 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.00422/1.393, allocations: 2.569 MB / 1.333 GB, free: 17.36 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/1.393, allocations: 3.625 kB / 1.333 GB, free: 17.36 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.995e-06/1.393, allocations: 0 / 1.333 GB, free: 17.36 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.304e-05/1.393, allocations: 0 / 1.333 GB, free: 17.36 MB / 1.014 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.004269/1.397, allocations: 2.11 MB / 1.335 GB, free: 16.23 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.688e-05/1.397, allocations: 12.56 kB / 1.335 GB, free: 16.22 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002968/1.4, allocations: 0.5058 MB / 1.335 GB, free: 16.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002154/1.402, allocations: 1.276 MB / 1.336 GB, free: 15.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/1.402, allocations: 183.9 kB / 1.337 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002167/1.403, allocations: 155.5 kB / 1.337 GB, free: 15.58 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003055/1.406, allocations: 1.74 MB / 1.338 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.831e-05/1.406, allocations: 5.719 kB / 1.338 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001329/1.406, allocations: 69.8 kB / 1.338 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.516e-05/1.406, allocations: 57.53 kB / 1.339 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0024/1.408, allocations: 1.394 MB / 1.34 GB, free: 15.32 MB / 1.014 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.009819/1.418, allocations: 8.21 MB / 1.348 GB, free: 10.45 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001583/1.42, allocations: 0.912 MB / 1.349 GB, free: 10.41 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009287/1.421, allocations: 0.5388 MB / 1.349 GB, free: 10.4 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006871/1.421, allocations: 341.8 kB / 1.35 GB, free: 10.11 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.421e-05/1.421, allocations: 51.16 kB / 1.35 GB, free: 10.07 MB / 1.014 GB Notification: Performance of pre-optimization done (n=96): time 5.229e-06/1.421, allocations: 6.422 kB / 1.35 GB, free: 10.06 MB / 1.014 GB Notification: Performance of matching and sorting (n=102): time 0.007283/1.429, allocations: 3.17 MB / 1.353 GB, free: 9.383 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/1.429, allocations: 61.34 kB / 1.353 GB, free: 9.32 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002243/1.431, allocations: 1.261 MB / 1.354 GB, free: 9.152 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.431, allocations: 50.64 kB / 1.354 GB, free: 9.121 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007866/1.432, allocations: 0.8129 MB / 1.355 GB, free: 8.805 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003752/1.432, allocations: 365.6 kB / 1.355 GB, free: 8.57 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001722/1.433, allocations: 103.2 kB / 1.355 GB, free: 8.555 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001802/1.433, allocations: 357.5 kB / 1.356 GB, free: 8.242 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008878/1.434, allocations: 448.6 kB / 1.356 GB, free: 8.172 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/1.435, allocations: 0.8335 MB / 1.357 GB, free: 7.637 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/1.437, allocations: 1.271 MB / 1.358 GB, free: 7.184 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.713e-06/1.437, allocations: 3.312 kB / 1.358 GB, free: 7.184 MB / 1.014 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002546/1.439, allocations: 1.427 MB / 1.36 GB, free: 6.898 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003113/1.44, allocations: 366.8 kB / 1.36 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/1.44, allocations: 9.406 kB / 1.36 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.917e-05/1.44, allocations: 16.88 kB / 1.36 GB, free: 6.461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/1.441, allocations: 281.8 kB / 1.36 GB, free: 6.426 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.494e-05/1.441, allocations: 19.72 kB / 1.36 GB, free: 6.426 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001767/1.443, allocations: 180.1 kB / 1.36 GB, free: 6.363 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.443, allocations: 55.27 kB / 1.36 GB, free: 6.355 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/1.443, allocations: 2.938 kB / 1.36 GB, free: 6.355 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002176/1.445, allocations: 1.237 MB / 1.362 GB, free: 6.195 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.106e-05/1.445, allocations: 16.52 kB / 1.362 GB, free: 6.191 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.445, allocations: 17.31 kB / 1.362 GB, free: 6.191 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/1.446, allocations: 276.5 kB / 1.362 GB, free: 6.156 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.26e-05/1.446, allocations: 21.08 kB / 1.362 GB, free: 6.152 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.448, allocations: 184.6 kB / 1.362 GB, free: 6.082 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.448, allocations: 51.31 kB / 1.362 GB, free: 6.082 MB / 1.014 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.0009759/1.449, allocations: 0.5077 MB / 1.363 GB, free: 5.848 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/1.449, allocations: 161.1 kB / 1.363 GB, free: 5.766 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00236/1.452, allocations: 1.179 MB / 1.364 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.24e-05/1.452, allocations: 8.656 kB / 1.364 GB, free: 5.508 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/1.452, allocations: 9.391 kB / 1.364 GB, free: 5.504 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001722/1.454, allocations: 1.098 MB / 1.365 GB, free: 5.117 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005335/1.459, allocations: 2.809 MB / 1.368 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.827e-06/1.459, allocations: 3.094 kB / 1.368 GB, free: 4.164 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001193/1.46, allocations: 246 kB / 1.368 GB, free: 4.129 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.947e-05/1.46, allocations: 10.12 kB / 1.368 GB, free: 4.125 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-05/1.46, allocations: 32.83 kB / 1.368 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.123e-05/1.46, allocations: 6.062 kB / 1.368 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/1.46, allocations: 5.531 kB / 1.368 GB, free: 4.117 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003251/1.464, allocations: 1.796 MB / 1.37 GB, free: 3.586 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009121/1.464, allocations: 336.4 kB / 1.37 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003927/1.465, allocations: 24.66 kB / 1.37 GB, free: 3.301 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/1.467, allocations: 142.2 kB / 1.37 GB, free: 3.234 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001909/1.467, allocations: 72.81 kB / 1.37 GB, free: 3.199 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.703e-05/1.467, allocations: 38.05 kB / 1.37 GB, free: 3.188 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001664/1.468, allocations: 0.8469 MB / 1.371 GB, free: 2.727 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.5e-07/1.468, allocations: 0 / 1.371 GB, free: 2.727 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003051/1.472, allocations: 0.7673 MB / 1.372 GB, free: 2.66 MB / 1.014 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.0007609/1.472, allocations: 280.6 kB / 1.372 GB, free: 2.496 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.00371/1.476, allocations: 1.755 MB / 1.374 GB, free: 1.793 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/1.476, allocations: 0 / 1.374 GB, free: 1.793 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0009909/1.477, allocations: 0.5266 MB / 1.375 GB, free: 1.582 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00592/1.483, allocations: 0.968 MB / 1.376 GB, free: 1.094 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007259/1.49, allocations: 4.442 MB / 1.38 GB, free: 14.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001348/1.492, allocations: 1.439 MB / 1.381 GB, free: 12.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005377/1.492, allocations: 144.5 kB / 1.381 GB, free: 12.96 MB / 1.029 GB Notification: Performance of SimCode: time 1.513e-06/1.492, allocations: 0 / 1.381 GB, free: 12.96 MB / 1.029 GB Notification: Performance of Templates: time 0.04577/1.538, allocations: 26.53 MB / 1.407 GB, free: 6.035 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolume_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolume.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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