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.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.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.006467/0.006467, allocations: 101.2 kB / 15.88 MB, free: 6.305 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.001471/0.001471, allocations: 197.9 kB / 16.79 MB, free: 6.238 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.417/1.417, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.724/2.724, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.31 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3673, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.194/0.5613, allocations: 174.9 MB / 1.224 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.007888/0.5693, allocations: 4.467 MB / 1.228 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00119/0.5705, allocations: 23.81 kB / 1.228 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001339/0.5719, allocations: 306.3 kB / 1.228 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.003706/0.5757, allocations: 1.187 MB / 1.229 GB, free: 2.762 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002162/0.5778, allocations: 0.6131 MB / 1.23 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002859/0.5807, allocations: 2.226 MB / 1.232 GB, free: 15.92 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008957/0.5816, allocations: 449.5 kB / 1.233 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/0.5832, allocations: 0.599 MB / 1.233 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001502/0.5847, allocations: 0.5076 MB / 1.234 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000185/0.5849, allocations: 28 kB / 1.234 GB, free: 14.34 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002949/0.5879, allocations: 1.453 MB / 1.235 GB, free: 12.89 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004194/0.5883, allocations: 211.3 kB / 1.235 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006811/0.589, allocations: 322.3 kB / 1.236 GB, free: 12.36 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00171/0.5907, allocations: 0.9355 MB / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.5907, allocations: 0 / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5907, allocations: 0 / 1.237 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.957e-05/0.5908, allocations: 0 / 1.237 GB, free: 11.43 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.0023/0.5931, allocations: 1.005 MB / 1.237 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5932, allocations: 15.97 kB / 1.238 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/0.5944, allocations: 171 kB / 1.238 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009737/0.5954, allocations: 0.5323 MB / 1.238 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.5955, allocations: 33 kB / 1.238 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.451e-05/0.5956, allocations: 40 kB / 1.238 GB, free: 9.539 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009277/0.5965, allocations: 466.3 kB / 1.239 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.749e-05/0.5965, allocations: 0 / 1.239 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.997e-05/0.5966, allocations: 20 kB / 1.239 GB, free: 9.055 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.936e-05/0.5966, allocations: 21 kB / 1.239 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00087/0.5975, allocations: 419.7 kB / 1.239 GB, free: 8.625 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.00306/0.6006, allocations: 2.024 MB / 1.241 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.6011, allocations: 290.8 kB / 1.241 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003149/0.6014, allocations: 190.1 kB / 1.242 GB, free: 5.941 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003036/0.6017, allocations: 202.2 kB / 1.242 GB, free: 5.707 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.6018, allocations: 34.56 kB / 1.242 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.054e-06/0.6018, allocations: 0 / 1.242 GB, free: 5.664 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.001649/0.6034, allocations: 0.6407 MB / 1.242 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.6035, allocations: 63.34 kB / 1.242 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005218/0.604, allocations: 446 kB / 1.243 GB, free: 4.473 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.6041, allocations: 33.64 kB / 1.243 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002277/0.6043, allocations: 284.2 kB / 1.243 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.6044, allocations: 106.4 kB / 1.243 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.6045, allocations: 65.69 kB / 1.243 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.6047, allocations: 354.8 kB / 1.244 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.605, allocations: 136.5 kB / 1.244 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/0.6053, allocations: 198.8 kB / 1.244 GB, free: 3.266 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005599/0.6059, allocations: 337.4 kB / 1.244 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.6059, allocations: 0 / 1.244 GB, free: 2.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007339/0.6066, allocations: 408.8 kB / 1.245 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.6067, allocations: 8 kB / 1.245 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6067, allocations: 0 / 1.245 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.6067, allocations: 4.156 kB / 1.245 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.607, allocations: 67.91 kB / 1.245 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.11e-05/0.6071, allocations: 4 kB / 1.245 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005509/0.6076, allocations: 63.64 kB / 1.245 GB, free: 2.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.6077, allocations: 12 kB / 1.245 GB, free: 2.355 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004253/0.6081, allocations: 288 kB / 1.245 GB, free: 2.07 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003101/0.6084, allocations: 196.3 kB / 1.245 GB, free: 1.855 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005285/0.609, allocations: 333.2 kB / 1.246 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.543e-06/0.609, allocations: 0 / 1.246 GB, free: 1.512 MB / 0.9981 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007043/0.6097, allocations: 404.8 kB / 1.246 GB, free: 1.109 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.193e-05/0.6097, allocations: 7.938 kB / 1.246 GB, free: 1.102 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.6097, allocations: 7.984 kB / 1.246 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.338e-06/0.6097, allocations: 0 / 1.246 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/0.61, allocations: 71.91 kB / 1.246 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.6101, allocations: 0 / 1.246 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005378/0.6106, allocations: 63.98 kB / 1.246 GB, free: 0.9609 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.108e-05/0.6106, allocations: 12 kB / 1.246 GB, free: 0.9492 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.0001491/0.6108, allocations: 196.2 kB / 1.246 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001018/0.6109, allocations: 55.38 kB / 1.246 GB, free: 0.6953 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008283/0.6117, allocations: 420.1 kB / 1.247 GB, free: 284 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.6117, allocations: 4 kB / 1.247 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.6118, allocations: 0 / 1.247 GB, free: 280 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.652/1.264, allocations: 439.4 kB / 1.247 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00228/1.266, allocations: 1.132 MB / 1.248 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/1.266, allocations: 2.75 kB / 1.248 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/1.266, allocations: 55.39 kB / 1.248 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002687/1.267, allocations: 51.09 kB / 1.249 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/1.267, allocations: 10.77 kB / 1.249 GB, free: 195.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001102/1.268, allocations: 1.434 MB / 1.25 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.268, allocations: 3.531 kB / 1.25 GB, free: 194 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001181/1.269, allocations: 0.7 MB / 1.251 GB, free: 193.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002309/1.269, allocations: 163.6 kB / 1.251 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/1.269, allocations: 11.55 kB / 1.251 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004284/1.27, allocations: 37.59 kB / 1.251 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/1.27, allocations: 25.86 kB / 1.251 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.919e-05/1.27, allocations: 15.36 kB / 1.251 GB, free: 193.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004016/1.27, allocations: 318.5 kB / 1.251 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/1.27, allocations: 0 / 1.251 GB, free: 193.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001069/1.271, allocations: 303.4 kB / 1.251 GB, free: 193.6 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.0004779/1.272, allocations: 195 kB / 1.252 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0009445/1.273, allocations: 491 kB / 1.252 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/1.273, allocations: 0 / 1.252 GB, free: 193.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004455/1.273, allocations: 298.4 kB / 1.252 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001419/1.275, allocations: 303.7 kB / 1.253 GB, free: 193.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/1.276, allocations: 1.331 MB / 1.254 GB, free: 192.6 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/1.277, allocations: 0.9007 MB / 1.255 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/1.277, allocations: 46.06 kB / 1.255 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of SimCode: time 2.2e-07/1.277, allocations: 0 / 1.255 GB, free: 191.9 MB / 0.9981 GB Notification: Performance of Templates: time 0.01873/1.296, allocations: 9.688 MB / 1.264 GB, free: 191.2 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches