Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.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_10_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_10_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.007707/0.007707, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001587/0.001587, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.416/2.416, allocations: 437 MB / 0.7105 GB, free: 4.41 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.12 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8885/0.8897, allocations: 151.6 MB / 1.167 GB, free: 3.984 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.1924/1.082, allocations: 177.1 MB / 1.34 GB, free: 2.156 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.007529/1.09, allocations: 4.399 MB / 1.344 GB, free: 13.75 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000986/1.091, allocations: 31.81 kB / 1.344 GB, free: 13.71 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001144/1.092, allocations: 361.7 kB / 1.344 GB, free: 13.36 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/1.095, allocations: 1.245 MB / 1.345 GB, free: 12.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002083/1.097, allocations: 0.6998 MB / 1.346 GB, free: 11.41 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002548/1.1, allocations: 1.618 MB / 1.348 GB, free: 9.793 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009522/1.101, allocations: 0.5213 MB / 1.348 GB, free: 9.266 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001404/1.102, allocations: 0.677 MB / 1.349 GB, free: 8.586 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001312/1.104, allocations: 492.6 kB / 1.349 GB, free: 8.105 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001555/1.104, allocations: 59.94 kB / 1.349 GB, free: 8.047 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002417/1.106, allocations: 1.294 MB / 1.351 GB, free: 6.75 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0003295/1.107, allocations: 239.3 kB / 1.351 GB, free: 6.516 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0004897/1.107, allocations: 342.4 kB / 1.351 GB, free: 6.18 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002377/1.11, allocations: 1.289 MB / 1.353 GB, free: 4.887 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/1.11, allocations: 0 / 1.353 GB, free: 4.887 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.432e-06/1.11, allocations: 0 / 1.353 GB, free: 4.887 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.312e-05/1.11, allocations: 0 / 1.353 GB, free: 4.887 MB / 1.076 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.00189/1.112, allocations: 1.029 MB / 1.354 GB, free: 3.809 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/1.112, allocations: 8.922 kB / 1.354 GB, free: 3.801 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/1.113, allocations: 175.5 kB / 1.354 GB, free: 3.629 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009776/1.114, allocations: 0.564 MB / 1.354 GB, free: 3.023 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.121e-05/1.114, allocations: 33 kB / 1.354 GB, free: 2.992 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.559e-05/1.114, allocations: 47.95 kB / 1.354 GB, free: 2.945 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009074/1.115, allocations: 474.2 kB / 1.355 GB, free: 2.477 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/1.115, allocations: 0 / 1.355 GB, free: 2.477 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.07e-05/1.115, allocations: 16 kB / 1.355 GB, free: 2.461 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.452e-05/1.115, allocations: 16.94 kB / 1.355 GB, free: 2.441 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008076/1.116, allocations: 423.7 kB / 1.355 GB, free: 2.031 MB / 1.076 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.002831/1.119, allocations: 2.028 MB / 1.357 GB, free: 15.82 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000527/1.119, allocations: 292 kB / 1.357 GB, free: 15.52 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003255/1.119, allocations: 200.7 kB / 1.358 GB, free: 15.32 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002824/1.12, allocations: 186.2 kB / 1.358 GB, free: 15.11 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.136e-05/1.12, allocations: 38.56 kB / 1.358 GB, free: 15.06 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 1.593e-06/1.12, allocations: 0 / 1.358 GB, free: 15.06 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.001676/1.121, allocations: 0.6474 MB / 1.359 GB, free: 14.38 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.82e-05/1.122, allocations: 55.39 kB / 1.359 GB, free: 14.32 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004963/1.122, allocations: 442 kB / 1.359 GB, free: 13.87 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.834e-05/1.122, allocations: 33.7 kB / 1.359 GB, free: 13.83 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/1.122, allocations: 284.6 kB / 1.359 GB, free: 13.55 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001014/1.122, allocations: 110.9 kB / 1.359 GB, free: 13.45 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001195/1.123, allocations: 77.64 kB / 1.359 GB, free: 13.36 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001398/1.123, allocations: 354.8 kB / 1.36 GB, free: 13.01 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/1.123, allocations: 132.8 kB / 1.36 GB, free: 12.88 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/1.123, allocations: 207.8 kB / 1.36 GB, free: 12.65 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005728/1.124, allocations: 334.5 kB / 1.36 GB, free: 12.3 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/1.124, allocations: 4 kB / 1.36 GB, free: 12.3 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007681/1.125, allocations: 409 kB / 1.361 GB, free: 11.89 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/1.125, allocations: 4 kB / 1.361 GB, free: 11.89 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/1.125, allocations: 4 kB / 1.361 GB, free: 11.89 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/1.125, allocations: 0 / 1.361 GB, free: 11.89 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000342/1.125, allocations: 79.91 kB / 1.361 GB, free: 11.81 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.125, allocations: 4.156 kB / 1.361 GB, free: 11.8 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/1.126, allocations: 43.75 kB / 1.361 GB, free: 11.76 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.397e-05/1.126, allocations: 12 kB / 1.361 GB, free: 11.75 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004237/1.126, allocations: 288 kB / 1.361 GB, free: 11.46 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000316/1.126, allocations: 202.8 kB / 1.361 GB, free: 11.24 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005467/1.127, allocations: 320.9 kB / 1.362 GB, free: 10.91 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.376e-06/1.127, allocations: 8 kB / 1.362 GB, free: 10.9 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007564/1.128, allocations: 409.3 kB / 1.362 GB, free: 10.5 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/1.128, allocations: 11.94 kB / 1.362 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.077e-06/1.128, allocations: 0 / 1.362 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.903e-06/1.128, allocations: 4 kB / 1.362 GB, free: 10.48 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003052/1.128, allocations: 68.05 kB / 1.362 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.034e-06/1.128, allocations: 8 kB / 1.362 GB, free: 10.41 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004299/1.128, allocations: 31.88 kB / 1.362 GB, free: 10.38 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/1.129, allocations: 8 kB / 1.362 GB, free: 10.37 MB / 1.092 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.000163/1.129, allocations: 200.2 kB / 1.362 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.129, allocations: 55.61 kB / 1.363 GB, free: 10.11 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008977/1.13, allocations: 423.1 kB / 1.363 GB, free: 9.688 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/1.13, allocations: 0 / 1.363 GB, free: 9.688 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/1.13, allocations: 4 kB / 1.363 GB, free: 9.684 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008018/1.131, allocations: 450.3 kB / 1.363 GB, free: 9.211 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001861/1.132, allocations: 1.129 MB / 1.364 GB, free: 8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.132, allocations: 8.219 kB / 1.364 GB, free: 7.992 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/1.133, allocations: 55.91 kB / 1.365 GB, free: 7.938 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002365/1.133, allocations: 48.81 kB / 1.365 GB, free: 7.887 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.041e-05/1.133, allocations: 8 kB / 1.365 GB, free: 7.879 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001367/1.134, allocations: 1.551 MB / 1.366 GB, free: 6.191 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/1.134, allocations: 8 kB / 1.366 GB, free: 6.184 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/1.136, allocations: 0.7008 MB / 1.367 GB, free: 5.441 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001964/1.136, allocations: 168.7 kB / 1.367 GB, free: 5.258 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.536e-05/1.136, allocations: 8 kB / 1.367 GB, free: 5.25 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003873/1.136, allocations: 22.02 kB / 1.367 GB, free: 5.23 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/1.136, allocations: 23.91 kB / 1.367 GB, free: 5.207 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.043e-05/1.136, allocations: 15.98 kB / 1.367 GB, free: 5.191 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003958/1.137, allocations: 314.9 kB / 1.367 GB, free: 4.887 MB / 1.092 GB Notification: Performance of sort global known variables: time 3.51e-07/1.137, allocations: 0 / 1.367 GB, free: 4.887 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009712/1.138, allocations: 303.4 kB / 1.368 GB, free: 4.59 MB / 1.092 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.0005679/1.138, allocations: 196.3 kB / 1.368 GB, free: 4.398 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001074/1.139, allocations: 483.5 kB / 1.368 GB, free: 3.926 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/1.139, allocations: 0.625 kB / 1.368 GB, free: 3.926 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005354/1.14, allocations: 294.3 kB / 1.369 GB, free: 3.625 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001489/1.141, allocations: 300.6 kB / 1.369 GB, free: 3.336 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/1.143, allocations: 1.091 MB / 1.37 GB, free: 2.195 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006248/1.144, allocations: 0.9053 MB / 1.371 GB, free: 1.262 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.000552/1.144, allocations: 160.4 kB / 1.371 GB, free: 1.102 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001511/1.145, allocations: 43.44 kB / 1.371 GB, free: 1.059 MB / 1.092 GB Notification: Performance of SimCode: time 2.5e-07/1.145, allocations: 4 kB / 1.371 GB, free: 1.055 MB / 1.092 GB Notification: Performance of Templates: time 0.01995/1.165, allocations: 10.27 MB / 1.381 GB, free: 6.957 MB / 1.107 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches