Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007179/0.007179, allocations: 101.8 kB / 15.73 MB, free: 6.441 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.001535/0.001535, allocations: 193.9 kB / 16.67 MB, free: 6.352 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.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.693/2.693, allocations: 437 MB / 0.7105 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.91 kB / 1.019 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3163, allocations: 151.6 MB / 1.167 GB, free: 6.77 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.9403/1.257, allocations: 190.5 MB / 1.353 GB, free: 2.738 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01179/1.269, allocations: 5.712 MB / 1.358 GB, free: 14.7 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002385/1.271, allocations: 41.81 kB / 1.358 GB, free: 14.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002325/1.273, allocations: 0.5955 MB / 1.359 GB, free: 14.34 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.006918/1.28, allocations: 1.899 MB / 1.361 GB, free: 13.29 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.004034/1.284, allocations: 1.184 MB / 1.362 GB, free: 12.66 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005579/1.29, allocations: 2.96 MB / 1.365 GB, free: 11.32 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002363/1.292, allocations: 1.122 MB / 1.366 GB, free: 10.84 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003033/1.295, allocations: 1.102 MB / 1.367 GB, free: 10.32 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00316/1.299, allocations: 0.9677 MB / 1.368 GB, free: 9.844 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005743/1.299, allocations: 123 kB / 1.368 GB, free: 9.844 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005134/1.304, allocations: 1.456 MB / 1.369 GB, free: 9.07 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.001455/1.306, allocations: 0.5677 MB / 1.37 GB, free: 8.695 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.002311/1.308, allocations: 0.7175 MB / 1.371 GB, free: 8.238 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.005936/1.314, allocations: 2.346 MB / 1.373 GB, free: 6.711 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/1.314, allocations: 0 / 1.373 GB, free: 6.711 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.184e-06/1.314, allocations: 0 / 1.373 GB, free: 6.711 MB / 1.045 GB Notification: Performance of Transformations before backend: time 9.941e-05/1.314, allocations: 5.188 kB / 1.373 GB, free: 6.707 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.00511/1.319, allocations: 1.657 MB / 1.375 GB, free: 5.461 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/1.319, allocations: 17.52 kB / 1.375 GB, free: 5.453 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00319/1.323, allocations: 335 kB / 1.375 GB, free: 5.301 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002646/1.325, allocations: 0.9183 MB / 1.376 GB, free: 4.605 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.964e-05/1.325, allocations: 70.19 kB / 1.376 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/1.326, allocations: 103.4 kB / 1.376 GB, free: 4.539 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002778/1.328, allocations: 1.085 MB / 1.377 GB, free: 3.938 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/1.328, allocations: 4 kB / 1.377 GB, free: 3.934 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002214/1.329, allocations: 42.41 kB / 1.377 GB, free: 3.902 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.786e-05/1.329, allocations: 38.44 kB / 1.377 GB, free: 3.895 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002015/1.331, allocations: 0.9943 MB / 1.378 GB, free: 3.414 MB / 1.045 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.007879/1.339, allocations: 4.233 MB / 1.382 GB, free: 16 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009579/1.34, allocations: 0.5903 MB / 1.383 GB, free: 15.69 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005251/1.34, allocations: 350.8 kB / 1.383 GB, free: 15.52 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/1.34, allocations: 102.8 kB / 1.383 GB, free: 15.42 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.835e-05/1.341, allocations: 49.03 kB / 1.383 GB, free: 15.37 MB / 1.061 GB Notification: Performance of pre-optimization done (n=53): time 2.826e-06/1.341, allocations: 0 / 1.383 GB, free: 15.37 MB / 1.061 GB Notification: Performance of matching and sorting (n=55): time 0.005038/1.346, allocations: 2.212 MB / 1.385 GB, free: 13.89 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/1.346, allocations: 57.06 kB / 1.385 GB, free: 13.82 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001346/1.347, allocations: 0.8942 MB / 1.386 GB, free: 13.33 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.421e-05/1.347, allocations: 39.39 kB / 1.386 GB, free: 13.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/1.348, allocations: 0.5222 MB / 1.387 GB, free: 12.82 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/1.348, allocations: 209.5 kB / 1.387 GB, free: 12.64 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002391/1.348, allocations: 129.6 kB / 1.387 GB, free: 12.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001647/1.348, allocations: 338.5 kB / 1.388 GB, free: 12.23 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004833/1.349, allocations: 281.4 kB / 1.388 GB, free: 12.1 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006347/1.349, allocations: 437.9 kB / 1.388 GB, free: 11.79 MB / 1.061 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.003991/1.353, allocations: 1.742 MB / 1.39 GB, free: 10.79 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/1.353, allocations: 0 / 1.39 GB, free: 10.79 MB / 1.061 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001645/1.355, allocations: 0.9348 MB / 1.391 GB, free: 10.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/1.355, allocations: 7.25 kB / 1.391 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/1.355, allocations: 5.312 kB / 1.391 GB, free: 10.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/1.355, allocations: 95.86 kB / 1.391 GB, free: 10.23 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007301/1.356, allocations: 162.6 kB / 1.391 GB, free: 10.2 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/1.36, allocations: 4.634 MB / 1.396 GB, free: 5.609 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001078/1.361, allocations: 36.62 kB / 1.396 GB, free: 5.586 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.621e-05/1.361, allocations: 30.05 kB / 1.396 GB, free: 5.578 MB / 1.061 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: 17 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007172/1.362, allocations: 345.5 kB / 1.396 GB, free: 5.328 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003099/1.362, allocations: 105.9 kB / 1.396 GB, free: 5.273 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/1.363, allocations: 113.5 kB / 1.396 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/1.363, allocations: 5.719 kB / 1.396 GB, free: 5.191 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/1.363, allocations: 4 kB / 1.396 GB, free: 5.188 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001149/1.364, allocations: 0.764 MB / 1.397 GB, free: 4.66 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/1.368, allocations: 1.991 MB / 1.399 GB, free: 3.281 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/1.368, allocations: 6.812 kB / 1.399 GB, free: 3.277 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000661/1.369, allocations: 143.7 kB / 1.399 GB, free: 3.242 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001082/1.369, allocations: 39.56 kB / 1.399 GB, free: 3.223 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/1.369, allocations: 23.61 kB / 1.399 GB, free: 3.207 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001627/1.37, allocations: 1.603 MB / 1.401 GB, free: 1.652 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/1.37, allocations: 4.656 kB / 1.401 GB, free: 1.652 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/1.372, allocations: 1.204 MB / 1.402 GB, free: 0.8984 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006552/1.373, allocations: 259.4 kB / 1.402 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002739/1.373, allocations: 27.45 kB / 1.402 GB, free: 0.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009075/1.374, allocations: 33.36 kB / 1.402 GB, free: 0.6523 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.374, allocations: 48.16 kB / 1.402 GB, free: 0.625 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.839e-05/1.374, allocations: 31.64 kB / 1.402 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0009674/1.375, allocations: 0.6107 MB / 1.403 GB, free: 284 kB / 1.061 GB Notification: Performance of sort global known variables: time 1.41e-07/1.375, allocations: 4 kB / 1.403 GB, free: 280 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.001331/1.377, allocations: 305.6 kB / 1.403 GB, free: 256 kB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (53): * Single equations (assignments): 52 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005618/1.377, allocations: 201.4 kB / 1.403 GB, free: 112 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001755/1.379, allocations: 1.007 MB / 1.404 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/1.379, allocations: 3.188 kB / 1.404 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007163/1.38, allocations: 453.7 kB / 1.405 GB, free: 15.17 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003195/1.383, allocations: 0.6491 MB / 1.405 GB, free: 14.55 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00421/1.387, allocations: 2.127 MB / 1.407 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/1.388, allocations: 1.17 MB / 1.409 GB, free: 11.16 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001034/1.389, allocations: 244.4 kB / 1.409 GB, free: 10.91 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002819/1.39, allocations: 83.42 kB / 1.409 GB, free: 10.83 MB / 1.076 GB Notification: Performance of SimCode: time 1.513e-06/1.39, allocations: 0 / 1.409 GB, free: 10.83 MB / 1.076 GB Notification: Performance of Templates: time 0.04078/1.43, allocations: 22.45 MB / 1.431 GB, free: 4.719 MB / 1.092 GB make -j1 -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile (rm -f Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches