Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|C_flow.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009284/0.009284, allocations: 99.38 kB / 15.73 MB, free: 6.059 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.001926/0.001926, allocations: 195.2 kB / 16.67 MB, free: 5.977 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.469/1.469, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.754/2.754, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 67.89 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.347, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.945/1.292, allocations: 190.8 MB / 1.407 GB, free: 15.88 MB / 1.107 GB Notification: Performance of NFInst.instExpressions: time 0.009735/1.302, allocations: 5.706 MB / 1.413 GB, free: 11.23 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001578/1.303, allocations: 41.88 kB / 1.413 GB, free: 11.22 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/1.305, allocations: 0.599 MB / 1.413 GB, free: 10.73 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004608/1.31, allocations: 1.669 MB / 1.415 GB, free: 9.441 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003722/1.313, allocations: 1.22 MB / 1.416 GB, free: 8.535 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003964/1.317, allocations: 2.506 MB / 1.418 GB, free: 7.109 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/1.319, allocations: 0.8285 MB / 1.419 GB, free: 6.586 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00233/1.321, allocations: 1.07 MB / 1.42 GB, free: 5.941 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00184/1.323, allocations: 0.8105 MB / 1.421 GB, free: 5.473 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0001715/1.323, allocations: 101 kB / 1.421 GB, free: 5.473 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003088/1.326, allocations: 1.536 MB / 1.423 GB, free: 4.637 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005368/1.327, allocations: 0.4914 MB / 1.423 GB, free: 4.309 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0007467/1.327, allocations: 0.6156 MB / 1.424 GB, free: 3.918 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.003335/1.331, allocations: 2.121 MB / 1.426 GB, free: 2.562 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.331, allocations: 4 kB / 1.426 GB, free: 2.559 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.553e-06/1.331, allocations: 0 / 1.426 GB, free: 2.559 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.659e-05/1.331, allocations: 0 / 1.426 GB, free: 2.559 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.002542/1.333, allocations: 1.511 MB / 1.427 GB, free: 1.398 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/1.333, allocations: 11.39 kB / 1.427 GB, free: 1.395 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/1.335, allocations: 329.8 kB / 1.428 GB, free: 1.223 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/1.337, allocations: 0.8278 MB / 1.428 GB, free: 364 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.351e-05/1.337, allocations: 66 kB / 1.428 GB, free: 296 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/1.337, allocations: 80 kB / 1.429 GB, free: 216 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001791/1.339, allocations: 1.074 MB / 1.43 GB, free: 15.1 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/1.339, allocations: 4 kB / 1.43 GB, free: 15.09 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/1.339, allocations: 32 kB / 1.43 GB, free: 15.06 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.717e-05/1.339, allocations: 38 kB / 1.43 GB, free: 15.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001508/1.34, allocations: 0.8313 MB / 1.431 GB, free: 14.2 MB / 1.123 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.005658/1.346, allocations: 4.27 MB / 1.435 GB, free: 9.652 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006349/1.347, allocations: 354.7 kB / 1.435 GB, free: 9.297 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003032/1.347, allocations: 207.4 kB / 1.435 GB, free: 9.094 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001834/1.347, allocations: 97.09 kB / 1.435 GB, free: 8.98 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/1.347, allocations: 38.56 kB / 1.435 GB, free: 8.934 MB / 1.123 GB Notification: Performance of pre-optimization done (n=36): time 2.185e-06/1.347, allocations: 4 kB / 1.435 GB, free: 8.93 MB / 1.123 GB Notification: Performance of matching and sorting (n=38): time 0.002731/1.35, allocations: 1.349 MB / 1.437 GB, free: 7.527 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/1.35, allocations: 59.16 kB / 1.437 GB, free: 7.457 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/1.351, allocations: 1.004 MB / 1.438 GB, free: 6.43 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 6.1e-05/1.351, allocations: 37.7 kB / 1.438 GB, free: 6.387 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004002/1.352, allocations: 0.4963 MB / 1.438 GB, free: 5.887 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/1.352, allocations: 142.8 kB / 1.438 GB, free: 5.746 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002058/1.352, allocations: 122.2 kB / 1.438 GB, free: 5.621 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001292/1.352, allocations: 333.9 kB / 1.439 GB, free: 5.289 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004684/1.353, allocations: 237.2 kB / 1.439 GB, free: 5.059 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006429/1.353, allocations: 419.9 kB / 1.439 GB, free: 4.57 MB / 1.123 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.002652/1.356, allocations: 1.223 MB / 1.441 GB, free: 3.25 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/1.356, allocations: 3.984 kB / 1.441 GB, free: 3.246 MB / 1.123 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001541/1.358, allocations: 0.7658 MB / 1.441 GB, free: 2.473 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.458e-05/1.358, allocations: 8 kB / 1.441 GB, free: 2.465 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/1.358, allocations: 4 kB / 1.441 GB, free: 2.461 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.358, allocations: 11.94 kB / 1.441 GB, free: 2.449 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006142/1.358, allocations: 152.1 kB / 1.442 GB, free: 2.301 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.588e-05/1.358, allocations: 15.92 kB / 1.442 GB, free: 2.285 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009228/1.359, allocations: 55.84 kB / 1.442 GB, free: 2.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.599e-05/1.359, allocations: 32 kB / 1.442 GB, free: 2.199 MB / 1.123 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (74): * Single equations (assignments): 74 * 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.0004614/1.36, allocations: 311.4 kB / 1.442 GB, free: 1.887 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001542/1.36, allocations: 103.4 kB / 1.442 GB, free: 1.785 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001706/1.36, allocations: 101 kB / 1.442 GB, free: 1.684 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/1.36, allocations: 7.938 kB / 1.442 GB, free: 1.676 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/1.36, allocations: 3.984 kB / 1.442 GB, free: 1.672 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000685/1.361, allocations: 0.6759 MB / 1.443 GB, free: 0.9102 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/1.363, allocations: 1.589 MB / 1.444 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/1.363, allocations: 8.812 kB / 1.444 GB, free: 15.21 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004008/1.364, allocations: 83.89 kB / 1.444 GB, free: 15.12 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/1.364, allocations: 4 kB / 1.444 GB, free: 15.12 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.331e-05/1.364, allocations: 16.5 kB / 1.444 GB, free: 15.11 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/1.364, allocations: 15.94 kB / 1.444 GB, free: 15.09 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/1.364, allocations: 7.938 kB / 1.444 GB, free: 15.08 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/1.365, allocations: 0.8329 MB / 1.445 GB, free: 14.19 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003861/1.365, allocations: 240.5 kB / 1.446 GB, free: 13.93 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001294/1.365, allocations: 15.94 kB / 1.446 GB, free: 13.92 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007083/1.366, allocations: 35.97 kB / 1.446 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/1.366, allocations: 39.84 kB / 1.446 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/1.366, allocations: 24.86 kB / 1.446 GB, free: 13.82 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001054/1.367, allocations: 0.7038 MB / 1.446 GB, free: 13.11 MB / 1.139 GB Notification: Performance of sort global known variables: time 8e-08/1.367, allocations: 0 / 1.446 GB, free: 13.11 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.0008629/1.368, allocations: 263.9 kB / 1.447 GB, free: 12.85 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.medium.Xi[1],volDyn.dynBal.U,volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.0004733/1.369, allocations: 215.1 kB / 1.447 GB, free: 12.64 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0009315/1.37, allocations: 492.4 kB / 1.447 GB, free: 12.16 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.37, allocations: 0 / 1.447 GB, free: 12.16 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.0002765/1.37, allocations: 183.7 kB / 1.447 GB, free: 11.98 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002478/1.372, allocations: 0.6171 MB / 1.448 GB, free: 11.37 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/1.375, allocations: 1.886 MB / 1.45 GB, free: 9.402 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000713/1.376, allocations: 1.099 MB / 1.451 GB, free: 8.273 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.000857/1.377, allocations: 244.3 kB / 1.451 GB, free: 8.031 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001831/1.377, allocations: 71.42 kB / 1.451 GB, free: 7.961 MB / 1.139 GB Notification: Performance of SimCode: time 1.362e-06/1.377, allocations: 0 / 1.451 GB, free: 7.961 MB / 1.139 GB Notification: Performance of Templates: time 0.03688/1.414, allocations: 20 MB / 1.471 GB, free: 4.258 MB / 1.154 GB make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.makefile (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches