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.001456/0.001456, allocations: 108.6 kB / 16.41 MB, free: 6.504 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.001624/0.001624, allocations: 185.6 kB / 17.34 MB, free: 5.758 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.407/1.407, allocations: 222.9 MB / 241 MB, free: 15.16 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.54/2.54, allocations: 437 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001589/0.001589, allocations: 64.12 kB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9804/0.982, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.199/1.181, allocations: 177.2 MB / 1.34 GB, free: 2.023 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.008267/1.189, allocations: 4.394 MB / 1.345 GB, free: 13.62 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/1.191, allocations: 31.81 kB / 1.345 GB, free: 13.59 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0014/1.192, allocations: 365.8 kB / 1.345 GB, free: 13.23 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0041/1.196, allocations: 1.303 MB / 1.346 GB, free: 11.92 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002386/1.199, allocations: 0.7037 MB / 1.347 GB, free: 11.22 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002716/1.202, allocations: 1.623 MB / 1.349 GB, free: 9.594 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001028/1.203, allocations: 0.5252 MB / 1.349 GB, free: 9.062 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/1.204, allocations: 0.6926 MB / 1.35 GB, free: 8.367 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001626/1.206, allocations: 0.4892 MB / 1.35 GB, free: 7.879 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0002078/1.206, allocations: 52 kB / 1.35 GB, free: 7.828 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003212/1.209, allocations: 1.302 MB / 1.352 GB, free: 6.523 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0004623/1.21, allocations: 235.4 kB / 1.352 GB, free: 6.293 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0008281/1.211, allocations: 342.4 kB / 1.352 GB, free: 5.957 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003196/1.214, allocations: 1.29 MB / 1.353 GB, free: 4.664 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/1.214, allocations: 0 / 1.353 GB, free: 4.664 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.893e-06/1.214, allocations: 0 / 1.353 GB, free: 4.664 MB / 1.076 GB Notification: Performance of Transformations before backend: time 4.108e-05/1.214, allocations: 0 / 1.353 GB, free: 4.664 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.002522/1.217, allocations: 1.027 MB / 1.354 GB, free: 3.586 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/1.217, allocations: 8.922 kB / 1.354 GB, free: 3.578 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/1.218, allocations: 183.4 kB / 1.355 GB, free: 3.398 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/1.219, allocations: 0.564 MB / 1.355 GB, free: 2.793 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.648e-05/1.219, allocations: 33 kB / 1.355 GB, free: 2.762 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.687e-05/1.219, allocations: 43.95 kB / 1.355 GB, free: 2.719 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/1.22, allocations: 470.3 kB / 1.356 GB, free: 2.254 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/1.22, allocations: 0 / 1.356 GB, free: 2.254 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.583e-05/1.221, allocations: 16 kB / 1.356 GB, free: 2.238 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.821e-05/1.221, allocations: 13 kB / 1.356 GB, free: 2.223 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008532/1.221, allocations: 423.7 kB / 1.356 GB, free: 1.812 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.003171/1.225, allocations: 2.036 MB / 1.358 GB, free: 15.59 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/1.225, allocations: 293.8 kB / 1.358 GB, free: 15.3 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003252/1.226, allocations: 199 kB / 1.358 GB, free: 15.1 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003116/1.226, allocations: 186.2 kB / 1.359 GB, free: 14.88 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.226, allocations: 38.56 kB / 1.359 GB, free: 14.84 MB / 1.092 GB Notification: Performance of pre-optimization done (n=30): time 1.713e-06/1.226, allocations: 0 / 1.359 GB, free: 14.84 MB / 1.092 GB Notification: Performance of matching and sorting (n=30): time 0.001675/1.228, allocations: 0.6474 MB / 1.359 GB, free: 14.16 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.735e-05/1.228, allocations: 55.41 kB / 1.359 GB, free: 14.09 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005793/1.228, allocations: 442 kB / 1.36 GB, free: 13.65 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 4.811e-05/1.228, allocations: 33.7 kB / 1.36 GB, free: 13.61 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002474/1.229, allocations: 288.5 kB / 1.36 GB, free: 13.33 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/1.229, allocations: 111 kB / 1.36 GB, free: 13.22 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/1.229, allocations: 73.64 kB / 1.36 GB, free: 13.14 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002292/1.229, allocations: 354.8 kB / 1.361 GB, free: 12.79 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002891/1.229, allocations: 136.7 kB / 1.361 GB, free: 12.65 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/1.23, allocations: 211.8 kB / 1.361 GB, free: 12.42 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005582/1.23, allocations: 338.5 kB / 1.361 GB, free: 12.07 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.23, allocations: 0 / 1.361 GB, free: 12.07 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008035/1.231, allocations: 405 kB / 1.362 GB, free: 11.67 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/1.231, allocations: 4 kB / 1.362 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.079e-05/1.231, allocations: 4 kB / 1.362 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/1.231, allocations: 0 / 1.362 GB, free: 11.66 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003509/1.232, allocations: 76.06 kB / 1.362 GB, free: 11.59 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/1.232, allocations: 3.984 kB / 1.362 GB, free: 11.58 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004413/1.232, allocations: 39.75 kB / 1.362 GB, free: 11.54 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/1.232, allocations: 16 kB / 1.362 GB, free: 11.53 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005089/1.233, allocations: 288 kB / 1.362 GB, free: 11.24 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003081/1.233, allocations: 202.8 kB / 1.362 GB, free: 11.02 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005693/1.233, allocations: 324.9 kB / 1.363 GB, free: 10.68 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.457e-06/1.233, allocations: 4 kB / 1.363 GB, free: 10.68 MB / 1.092 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007423/1.234, allocations: 405.3 kB / 1.363 GB, free: 10.28 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/1.234, allocations: 11.94 kB / 1.363 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.126e-06/1.234, allocations: 0 / 1.363 GB, free: 10.27 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.704e-06/1.234, allocations: 4 kB / 1.363 GB, free: 10.26 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002973/1.235, allocations: 72.05 kB / 1.363 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/1.235, allocations: 4 kB / 1.363 GB, free: 10.19 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/1.235, allocations: 31.88 kB / 1.363 GB, free: 10.16 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.322e-05/1.235, allocations: 8 kB / 1.363 GB, free: 10.15 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.0001754/1.235, allocations: 200.2 kB / 1.363 GB, free: 9.945 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000114/1.235, allocations: 55.61 kB / 1.363 GB, free: 9.891 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000877/1.236, allocations: 415.1 kB / 1.364 GB, free: 9.477 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.236, allocations: 4 kB / 1.364 GB, free: 9.473 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.684e-06/1.236, allocations: 128 / 1.364 GB, free: 9.473 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007014/1.237, allocations: 462.3 kB / 1.364 GB, free: 8.988 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002011/1.239, allocations: 1.136 MB / 1.365 GB, free: 7.773 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/1.239, allocations: 4 kB / 1.365 GB, free: 7.77 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000284/1.239, allocations: 55.91 kB / 1.365 GB, free: 7.715 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002427/1.24, allocations: 48.81 kB / 1.365 GB, free: 7.664 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/1.24, allocations: 11.94 kB / 1.365 GB, free: 7.652 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/1.241, allocations: 1.543 MB / 1.367 GB, free: 5.973 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.241, allocations: 7.938 kB / 1.367 GB, free: 5.965 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/1.242, allocations: 0.7009 MB / 1.368 GB, free: 5.223 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002499/1.243, allocations: 164.7 kB / 1.368 GB, free: 5.043 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.856e-05/1.243, allocations: 8 kB / 1.368 GB, free: 5.035 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000385/1.243, allocations: 19.98 kB / 1.368 GB, free: 5.016 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/1.243, allocations: 27.91 kB / 1.368 GB, free: 4.988 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.031e-05/1.243, allocations: 20.05 kB / 1.368 GB, free: 4.969 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004041/1.244, allocations: 314.8 kB / 1.368 GB, free: 4.664 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.61e-07/1.244, allocations: 0 / 1.368 GB, free: 4.664 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0009267/1.245, allocations: 303.4 kB / 1.368 GB, free: 4.367 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.0005431/1.245, allocations: 184.5 kB / 1.369 GB, free: 4.18 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001027/1.246, allocations: 484 kB / 1.369 GB, free: 3.707 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/1.246, allocations: 4.125 kB / 1.369 GB, free: 3.703 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0005305/1.247, allocations: 290.3 kB / 1.369 GB, free: 3.406 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00135/1.248, allocations: 310.6 kB / 1.37 GB, free: 3.113 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002143/1.25, allocations: 1.138 MB / 1.371 GB, free: 1.918 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/1.251, allocations: 0.8975 MB / 1.372 GB, free: 0.9922 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/1.251, allocations: 43.42 kB / 1.372 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of SimCode: time 3.517e-06/1.251, allocations: 0 / 1.372 GB, free: 0.9492 MB / 1.092 GB Notification: Performance of Templates: time 0.01792/1.269, allocations: 9.682 MB / 1.381 GB, free: 7.348 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches