Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001795/0.001795, allocations: 85.48 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00203/0.00203, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.621/1.621, allocations: 177.2 MB / 203.1 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.485/3.485, allocations: 429.5 MB / 0.6729 GB, free: 4.008 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.314e-06/2.314e-06, allocations: 0 / 0.8775 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.373e-05/3.605e-05, allocations: 5.266 kB / 0.8775 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.8934/0.8934, allocations: 187.6 MB / 1.061 GB, free: 47.69 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.009669/0.9031, allocations: 5.817 MB / 1.066 GB, free: 47.65 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001561/0.9047, allocations: 53.44 kB / 1.066 GB, free: 47.65 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.001609/0.9063, allocations: 0.5515 MB / 1.067 GB, free: 47.64 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.9106, allocations: 1.727 MB / 1.069 GB, free: 47.57 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.003211/0.9138, allocations: 1.26 MB / 1.07 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.00351/0.9173, allocations: 2.619 MB / 1.072 GB, free: 47.54 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.9184, allocations: 0.7665 MB / 1.073 GB, free: 47.48 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002607/0.921, allocations: 1.581 MB / 1.075 GB, free: 47.34 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.9229, allocations: 0.8316 MB / 1.076 GB, free: 47.25 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001933/0.9231, allocations: 110.2 kB / 1.076 GB, free: 47.25 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.9258, allocations: 1.3 MB / 1.077 GB, free: 47.13 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005411/0.9264, allocations: 0.5441 MB / 1.077 GB, free: 47.07 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0005833/0.927, allocations: 470.4 kB / 1.078 GB, free: 47.03 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003004/0.93, allocations: 2.253 MB / 1.08 GB, free: 46.83 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.93, allocations: 0 / 1.08 GB, free: 46.83 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.403e-06/0.93, allocations: 1.094 kB / 1.08 GB, free: 46.83 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.032e-05/0.93, allocations: 3.188 kB / 1.08 GB, free: 46.83 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002759/0.9328, allocations: 1.653 MB / 1.082 GB, free: 45.99 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.885e-05/0.9328, allocations: 8.5 kB / 1.082 GB, free: 45.99 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002706/0.9355, allocations: 0.5172 MB / 1.082 GB, free: 45.89 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001584/0.9371, allocations: 0.8026 MB / 1.083 GB, free: 45.62 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.203e-05/0.9372, allocations: 70.08 kB / 1.083 GB, free: 45.62 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001561/0.9373, allocations: 94.08 kB / 1.083 GB, free: 45.62 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001846/0.9392, allocations: 1.395 MB / 1.085 GB, free: 44.97 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.958e-05/0.9392, allocations: 0 / 1.085 GB, free: 44.97 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.977e-05/0.9393, allocations: 48.33 kB / 1.085 GB, free: 44.97 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.833e-05/0.9394, allocations: 36.42 kB / 1.085 GB, free: 44.97 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001574/0.9409, allocations: 0.6826 MB / 1.085 GB, free: 44.96 MB / 1.01 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.006306/0.9472, allocations: 3.514 MB / 1.089 GB, free: 43.78 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001335/0.9486, allocations: 0.5082 MB / 1.089 GB, free: 43.74 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000618/0.9492, allocations: 262.5 kB / 1.089 GB, free: 43.73 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001643/0.9493, allocations: 23.02 kB / 1.089 GB, free: 43.73 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.155e-05/0.9494, allocations: 48.45 kB / 1.09 GB, free: 43.69 MB / 1.01 GB Notification: Performance of pre-optimization done (n=43): time 2.876e-06/0.9494, allocations: 1 kB / 1.09 GB, free: 43.69 MB / 1.01 GB Notification: Performance of matching and sorting (n=45): time 0.004494/0.9539, allocations: 1.539 MB / 1.091 GB, free: 43.3 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.9539, allocations: 61 kB / 1.091 GB, free: 43.24 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.955, allocations: 0.7964 MB / 1.092 GB, free: 43.04 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 5.693e-05/0.9551, allocations: 37.14 kB / 1.092 GB, free: 43 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003982/0.9555, allocations: 0.5904 MB / 1.092 GB, free: 42.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001848/0.9556, allocations: 182.6 kB / 1.093 GB, free: 42.59 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002808/0.9559, allocations: 147 kB / 1.093 GB, free: 42.56 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002107/0.9561, allocations: 0.6041 MB / 1.093 GB, free: 42.07 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006587/0.9568, allocations: 222.8 kB / 1.094 GB, free: 42.06 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008408/0.9576, allocations: 484.8 kB / 1.094 GB, free: 41.8 MB / 1.01 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.004959/0.9626, allocations: 1.627 MB / 1.096 GB, free: 41.56 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.733e-06/0.9626, allocations: 4.391 kB / 1.096 GB, free: 41.56 MB / 1.01 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001897/0.9645, allocations: 0.7119 MB / 1.096 GB, free: 41.48 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.387e-05/0.9645, allocations: 7.656 kB / 1.096 GB, free: 41.48 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.9645, allocations: 3.281 kB / 1.096 GB, free: 41.48 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.825e-05/0.9646, allocations: 6.75 kB / 1.096 GB, free: 41.48 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00083/0.9654, allocations: 167 kB / 1.097 GB, free: 41.48 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.9654, allocations: 12.11 kB / 1.097 GB, free: 41.47 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008975/0.9663, allocations: 50.7 kB / 1.097 GB, free: 41.47 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.9664, allocations: 25.92 kB / 1.097 GB, free: 41.47 MB / 1.01 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 (73): * Single equations (assignments): 73 * 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.0004916/0.9669, allocations: 265.6 kB / 1.097 GB, free: 41.3 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.9671, allocations: 99 kB / 1.097 GB, free: 41.26 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/0.9673, allocations: 83.14 kB / 1.097 GB, free: 41.25 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.9673, allocations: 4.906 kB / 1.097 GB, free: 41.25 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/0.9673, allocations: 7.266 kB / 1.097 GB, free: 41.25 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001442/0.9687, allocations: 0.7924 MB / 1.098 GB, free: 40.8 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004148/0.9729, allocations: 1.812 MB / 1.1 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/0.9729, allocations: 7.734 kB / 1.1 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007127/0.9736, allocations: 138 kB / 1.1 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.9736, allocations: 4.062 kB / 1.1 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.551e-05/0.9737, allocations: 15.88 kB / 1.1 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.736e-06/0.9737, allocations: 8.484 kB / 1.1 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.9737, allocations: 3.406 kB / 1.1 GB, free: 40.34 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.976, allocations: 1.117 MB / 1.101 GB, free: 39.94 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004509/0.9764, allocations: 151.7 kB / 1.101 GB, free: 39.9 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.9765, allocations: 15.33 kB / 1.101 GB, free: 39.9 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007565/0.9773, allocations: 44.25 kB / 1.101 GB, free: 39.9 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001088/0.9774, allocations: 43.44 kB / 1.101 GB, free: 39.89 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.465e-05/0.9775, allocations: 30.62 kB / 1.101 GB, free: 39.89 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0007168/0.9782, allocations: 496 kB / 1.102 GB, free: 39.76 MB / 1.01 GB Notification: Performance of sort global known variables: time 9.1e-08/0.9782, allocations: 1.094 kB / 1.102 GB, free: 39.76 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.001102/0.9793, allocations: 272.6 kB / 1.102 GB, free: 39.75 MB / 1.01 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 (45): * Single equations (assignments): 45 * 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.0004583/0.9797, allocations: 196 kB / 1.102 GB, free: 39.65 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001874/0.9816, allocations: 0.5768 MB / 1.103 GB, free: 39.63 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.9816, allocations: 3.156 kB / 1.103 GB, free: 39.63 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.000755/0.9824, allocations: 292 kB / 1.103 GB, free: 39.62 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/0.9847, allocations: 477.4 kB / 1.103 GB, free: 39.58 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.9895, allocations: 1.942 MB / 1.105 GB, free: 38.71 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007044/0.9902, allocations: 498.8 kB / 1.106 GB, free: 38.61 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001059/0.9912, allocations: 196.9 kB / 1.106 GB, free: 38.55 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/0.9916, allocations: 70.25 kB / 1.106 GB, free: 38.55 MB / 1.01 GB Notification: Performance of SimCode: time 1.503e-06/0.9916, allocations: 4 kB / 1.106 GB, free: 38.54 MB / 1.01 GB Notification: Performance of Templates: time 0.05012/1.042, allocations: 18.36 MB / 1.124 GB, free: 36.65 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.466549584991299]