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.001971/0.001971, allocations: 84.05 kB / 19.18 MB, free: 2.523 MB / 14.72 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.002241/0.002241, allocations: 170 kB / 22.46 MB, free: 5.359 MB / 14.72 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.568/1.568, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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 2.973/2.973, allocations: 389 MB / 0.633 GB, free: 0.9805 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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.264e-06/2.264e-06, allocations: 0 / 1 GB, free: 7.227 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.997e-05, allocations: 6.281 kB / 1 GB, free: 7.219 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.8883/0.8884, allocations: 168.3 MB / 1.165 GB, free: 44.98 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008942/0.8973, allocations: 5.402 MB / 1.17 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001236/0.8985, allocations: 58.69 kB / 1.17 GB, free: 44.88 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.9001, allocations: 0.5449 MB / 1.17 GB, free: 44.87 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003876/0.9039, allocations: 1.731 MB / 1.172 GB, free: 44.74 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002988/0.9069, allocations: 1.264 MB / 1.173 GB, free: 44.67 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002945/0.9099, allocations: 2.613 MB / 1.176 GB, free: 44.21 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001089/0.9109, allocations: 0.7434 MB / 1.177 GB, free: 44.12 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002539/0.9135, allocations: 1.578 MB / 1.178 GB, free: 43.96 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.9154, allocations: 0.7949 MB / 1.179 GB, free: 43.89 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0003102/0.9157, allocations: 111 kB / 1.179 GB, free: 43.89 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003017/0.9187, allocations: 1.299 MB / 1.18 GB, free: 43.77 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0005757/0.9193, allocations: 0.5303 MB / 1.181 GB, free: 43.71 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.000676/0.92, allocations: 464.9 kB / 1.181 GB, free: 43.66 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.003343/0.9233, allocations: 2.226 MB / 1.183 GB, free: 43.46 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.9233, allocations: 5.344 kB / 1.183 GB, free: 43.46 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.433e-06/0.9233, allocations: 1.062 kB / 1.183 GB, free: 43.46 MB / 1.076 GB Notification: Performance of Transformations before backend: time 3.122e-05/0.9233, allocations: 0.875 kB / 1.183 GB, free: 43.46 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: 216 * Number of variables: 216 Notification: Performance of Generate backend data structure: time 0.002829/0.9262, allocations: 1.46 MB / 1.185 GB, free: 42.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.9262, allocations: 10.03 kB / 1.185 GB, free: 42.72 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003253/0.9295, allocations: 485.1 kB / 1.185 GB, free: 42.65 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.9311, allocations: 0.7863 MB / 1.186 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.354e-05/0.9312, allocations: 67.97 kB / 1.186 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001607/0.9314, allocations: 85.38 kB / 1.186 GB, free: 42.38 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002888/0.9342, allocations: 1.55 MB / 1.188 GB, free: 41.81 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.824e-05/0.9343, allocations: 5.219 kB / 1.188 GB, free: 41.81 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001132/0.9344, allocations: 39.91 kB / 1.188 GB, free: 41.81 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.116e-05/0.9344, allocations: 38.72 kB / 1.188 GB, free: 41.8 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002564/0.937, allocations: 1.06 MB / 1.189 GB, free: 41.8 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.007004/0.944, allocations: 3.136 MB / 1.192 GB, free: 40.91 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002167/0.9462, allocations: 0.7249 MB / 1.193 GB, free: 40.88 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/0.9473, allocations: 382.7 kB / 1.193 GB, free: 40.87 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001653/0.9474, allocations: 30.36 kB / 1.193 GB, free: 40.87 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.746e-05/0.9475, allocations: 43.94 kB / 1.193 GB, free: 40.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=43): time 2.225e-06/0.9475, allocations: 0 / 1.193 GB, free: 40.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=45): time 0.006497/0.954, allocations: 2.098 MB / 1.195 GB, free: 40.07 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.954, allocations: 58.73 kB / 1.195 GB, free: 40.01 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008543/0.9548, allocations: 0.665 MB / 1.196 GB, free: 39.72 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 6.563e-05/0.9549, allocations: 39.58 kB / 1.196 GB, free: 39.68 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.9552, allocations: 0.4995 MB / 1.196 GB, free: 39.29 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001359/0.9553, allocations: 172.7 kB / 1.197 GB, free: 39.15 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.9555, allocations: 117.6 kB / 1.197 GB, free: 39.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001119/0.9557, allocations: 383.2 kB / 1.197 GB, free: 38.75 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001019/0.9567, allocations: 366.9 kB / 1.197 GB, free: 38.65 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001287/0.958, allocations: 0.5527 MB / 1.198 GB, free: 38.34 MB / 1.076 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.007331/0.9653, allocations: 2.181 MB / 1.2 GB, free: 37.69 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/0.9653, allocations: 1.156 kB / 1.2 GB, free: 37.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002612/0.9679, allocations: 0.9721 MB / 1.201 GB, free: 37.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.9679, allocations: 7.688 kB / 1.201 GB, free: 37.36 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.037e-05/0.9679, allocations: 3.438 kB / 1.201 GB, free: 37.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/0.968, allocations: 12.25 kB / 1.201 GB, free: 37.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009965/0.969, allocations: 189.6 kB / 1.201 GB, free: 37.35 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.506e-05/0.969, allocations: 7.453 kB / 1.201 GB, free: 37.35 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/0.97, allocations: 67.92 kB / 1.201 GB, free: 37.33 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.9701, allocations: 31.36 kB / 1.201 GB, free: 37.32 MB / 1.076 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.0005675/0.9707, allocations: 312.6 kB / 1.202 GB, free: 37.13 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/0.9708, allocations: 84.22 kB / 1.202 GB, free: 37.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001864/0.971, allocations: 84.48 kB / 1.202 GB, free: 37.03 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/0.971, allocations: 5.766 kB / 1.202 GB, free: 37.03 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.297e-05/0.971, allocations: 7.062 kB / 1.202 GB, free: 37.03 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002043/0.9731, allocations: 1.03 MB / 1.203 GB, free: 36.39 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004581/0.9777, allocations: 1.885 MB / 1.205 GB, free: 35.59 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.352e-06/0.9777, allocations: 2.625 kB / 1.205 GB, free: 35.59 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009133/0.9786, allocations: 168.1 kB / 1.205 GB, free: 35.57 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.969e-06/0.9786, allocations: 4.906 kB / 1.205 GB, free: 35.57 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.091e-05/0.9787, allocations: 18.66 kB / 1.205 GB, free: 35.57 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.204e-06/0.9787, allocations: 9.625 kB / 1.205 GB, free: 35.57 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.755e-05/0.9787, allocations: 2.625 kB / 1.205 GB, free: 35.57 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00324/0.9819, allocations: 1.398 MB / 1.206 GB, free: 34.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004254/0.9823, allocations: 157 kB / 1.206 GB, free: 34.87 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000131/0.9825, allocations: 20.59 kB / 1.206 GB, free: 34.86 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009315/0.9834, allocations: 70.59 kB / 1.206 GB, free: 34.84 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.9835, allocations: 37.94 kB / 1.206 GB, free: 34.84 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.291e-05/0.9836, allocations: 28.92 kB / 1.206 GB, free: 34.84 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0006181/0.9842, allocations: 465.3 kB / 1.207 GB, free: 34.64 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9842, allocations: 0 / 1.207 GB, free: 34.64 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001135/0.9853, allocations: 263 kB / 1.207 GB, free: 34.62 MB / 1.076 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.0003862/0.9857, allocations: 196 kB / 1.207 GB, free: 34.5 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.9879, allocations: 0.7897 MB / 1.208 GB, free: 34.3 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.9879, allocations: 2.094 kB / 1.208 GB, free: 34.3 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.9889, allocations: 376 kB / 1.208 GB, free: 34.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00223/0.9912, allocations: 454.4 kB / 1.209 GB, free: 34.09 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004772/0.996, allocations: 2.067 MB / 1.211 GB, free: 33.05 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006157/0.9966, allocations: 0.5106 MB / 1.211 GB, free: 32.89 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0008438/0.9974, allocations: 233.5 kB / 1.212 GB, free: 32.84 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.9977, allocations: 75.41 kB / 1.212 GB, free: 32.82 MB / 1.076 GB Notification: Performance of SimCode: time 7.81e-07/0.9977, allocations: 0 / 1.212 GB, free: 32.82 MB / 1.076 GB Notification: Performance of Templates: time 0.0332/1.031, allocations: 18.01 MB / 1.229 GB, free: 30.91 MB / 1.076 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate.pipe 2>&1) [Timeout 800] 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.072754003107548]