Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.0007972/0.0007972, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005289/0.005289, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.601/1.601, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.823/2.823, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004302/0.0004304, allocations: 15.75 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3095/0.3099, allocations: 159.6 MB / 1.059 GB, free: 5.5 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1937/0.5037, allocations: 172.6 MB / 1.227 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008906/0.5126, allocations: 4.408 MB / 1.232 GB, free: 3.828 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001332/0.514, allocations: 23.81 kB / 1.232 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001412/0.5155, allocations: 302.4 kB / 1.232 GB, free: 3.508 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.004776/0.5203, allocations: 1.179 MB / 1.233 GB, free: 2.324 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002441/0.5227, allocations: 0.6264 MB / 1.234 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003197/0.5259, allocations: 2.218 MB / 1.236 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008932/0.5268, allocations: 444.9 kB / 1.236 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00157/0.5284, allocations: 0.5795 MB / 1.237 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001428/0.5299, allocations: 492.3 kB / 1.237 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001399/0.53, allocations: 20 kB / 1.237 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003286/0.5333, allocations: 1.453 MB / 1.239 GB, free: 12.51 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003325/0.5337, allocations: 203.3 kB / 1.239 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005196/0.5342, allocations: 332.1 kB / 1.239 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.5363, allocations: 1.301 MB / 1.24 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.5363, allocations: 3.984 kB / 1.24 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.024e-06/0.5363, allocations: 0 / 1.24 GB, free: 10.67 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.5363, allocations: 0 / 1.24 GB, free: 10.67 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00139/0.5377, allocations: 0.888 MB / 1.241 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5378, allocations: 8.031 kB / 1.241 GB, free: 9.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001039/0.5388, allocations: 175.1 kB / 1.241 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/0.5396, allocations: 0.5284 MB / 1.242 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.745e-05/0.5396, allocations: 36.98 kB / 1.242 GB, free: 8.945 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.315e-05/0.5397, allocations: 47.94 kB / 1.242 GB, free: 8.898 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007965/0.5405, allocations: 466.3 kB / 1.243 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.5406, allocations: 4 kB / 1.243 GB, free: 8.434 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.542e-05/0.5406, allocations: 20 kB / 1.243 GB, free: 8.414 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.862e-05/0.5406, allocations: 17 kB / 1.243 GB, free: 8.398 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007631/0.5414, allocations: 427.7 kB / 1.243 GB, free: 7.977 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.002601/0.544, allocations: 2.036 MB / 1.245 GB, free: 5.758 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005087/0.5445, allocations: 298.8 kB / 1.245 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003283/0.5449, allocations: 190.6 kB / 1.245 GB, free: 5.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000269/0.5452, allocations: 194.2 kB / 1.246 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.5452, allocations: 42.56 kB / 1.246 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 1.824e-06/0.5452, allocations: 0 / 1.246 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.0016/0.5468, allocations: 0.6628 MB / 1.246 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/0.5469, allocations: 55.41 kB / 1.246 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005024/0.5474, allocations: 442 kB / 1.247 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.5474, allocations: 33.7 kB / 1.247 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001992/0.5476, allocations: 284.1 kB / 1.247 GB, free: 3.469 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.702e-05/0.5477, allocations: 106.4 kB / 1.247 GB, free: 3.363 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.111e-05/0.5478, allocations: 29.7 kB / 1.247 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.5479, allocations: 358.8 kB / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/0.5482, allocations: 131.9 kB / 1.248 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003182/0.5485, allocations: 206.5 kB / 1.248 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.5491, allocations: 348.9 kB / 1.248 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.5491, allocations: 3.938 kB / 1.248 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007325/0.5499, allocations: 421.3 kB / 1.249 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.771e-05/0.55, allocations: 125.4 kB / 1.249 GB, free: 1.688 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.55, allocations: 4 kB / 1.249 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.55, allocations: 4 kB / 1.249 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003539/0.5504, allocations: 71.91 kB / 1.249 GB, free: 1.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.013e-05/0.5504, allocations: 4 kB / 1.249 GB, free: 1.605 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005606/0.551, allocations: 63.77 kB / 1.249 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.393e-05/0.551, allocations: 16 kB / 1.249 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/0.551, allocations: 5.25 kB / 1.249 GB, free: 1.523 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006422/0.5517, allocations: 339.8 kB / 1.249 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-06/0.5517, allocations: 0 / 1.249 GB, free: 1.191 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.684e-06/0.5517, allocations: 7.938 kB / 1.249 GB, free: 1.184 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003022/0.552, allocations: 71.89 kB / 1.249 GB, free: 1.113 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.387e-06/0.552, allocations: 3.938 kB / 1.249 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004855/0.5525, allocations: 67.7 kB / 1.249 GB, free: 1.043 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.015e-05/0.5526, allocations: 12 kB / 1.249 GB, free: 1.031 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00039/0.553, allocations: 282.5 kB / 1.25 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.929e-05/0.5531, allocations: 55.42 kB / 1.25 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009106/0.554, allocations: 427 kB / 1.25 GB, free: 272 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.223e-06/0.554, allocations: 4 kB / 1.25 GB, free: 268 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.554, allocations: 4 kB / 1.25 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.619/1.173, allocations: 451.3 kB / 1.251 GB, free: 193.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/1.176, allocations: 1.149 MB / 1.252 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/1.176, allocations: 3.062 kB / 1.252 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003398/1.177, allocations: 64.84 kB / 1.252 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002726/1.177, allocations: 46 kB / 1.252 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.242e-05/1.177, allocations: 9.281 kB / 1.252 GB, free: 193 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/1.178, allocations: 1.433 MB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/1.178, allocations: 2.812 kB / 1.253 GB, free: 191.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/1.18, allocations: 0.7112 MB / 1.254 GB, free: 191.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002321/1.18, allocations: 166.8 kB / 1.254 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/1.18, allocations: 7.5 kB / 1.254 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/1.18, allocations: 42.94 kB / 1.254 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.042e-05/1.18, allocations: 31.86 kB / 1.254 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/1.18, allocations: 11.38 kB / 1.254 GB, free: 191.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003853/1.181, allocations: 319 kB / 1.254 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.012e-06/1.181, allocations: 0 / 1.254 GB, free: 191.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001086/1.182, allocations: 314.7 kB / 1.255 GB, free: 191.3 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004534/1.182, allocations: 184.5 kB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001023/1.183, allocations: 0.4934 MB / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/1.183, allocations: 0 / 1.255 GB, free: 191.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004294/1.184, allocations: 299.6 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/1.186, allocations: 312.4 kB / 1.256 GB, free: 191.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/1.187, allocations: 1.347 MB / 1.257 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003316/1.187, allocations: 0.9045 MB / 1.258 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005001/1.188, allocations: 163.4 kB / 1.258 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/1.188, allocations: 42.12 kB / 1.258 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of SimCode: time 5.71e-07/1.188, allocations: 0 / 1.258 GB, free: 189.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.02244/1.21, allocations: 9.788 MB / 1.268 GB, free: 189.1 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches