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.001506/0.001506, allocations: 105.1 kB / 18.99 MB, free: 2.605 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.001958/0.001958, allocations: 216.5 kB / 22.3 MB, free: 5.301 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.599/1.599, allocations: 230.6 MB / 256.1 MB, free: 7.805 MB / 206.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 3.641/3.641, allocations: 0.5107 GB / 0.8159 GB, free: 17.78 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002829/0.002829, allocations: 64.69 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3714/0.3742, allocations: 181.9 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2505/0.6248, allocations: 168.5 MB / 1.529 GB, free: 4.402 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.6368, allocations: 5.423 MB / 1.534 GB, free: 14.97 MB / 1.233 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002142/0.6389, allocations: 55.56 kB / 1.534 GB, free: 14.91 MB / 1.233 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.6412, allocations: 0.5475 MB / 1.534 GB, free: 14.36 MB / 1.233 GB Notification: Performance of NFTyping.typeBindings: time 0.006081/0.6473, allocations: 1.692 MB / 1.536 GB, free: 12.66 MB / 1.233 GB Notification: Performance of NFTyping.typeClassSections: time 0.004729/0.652, allocations: 1.223 MB / 1.537 GB, free: 11.45 MB / 1.233 GB Notification: Performance of NFFlatten.flatten: time 0.005393/0.6574, allocations: 2.601 MB / 1.54 GB, free: 8.84 MB / 1.233 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/0.6594, allocations: 0.7474 MB / 1.541 GB, free: 8.074 MB / 1.233 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003937/0.6633, allocations: 1.292 MB / 1.542 GB, free: 6.777 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002868/0.6662, allocations: 0.8601 MB / 1.543 GB, free: 5.918 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0005521/0.6668, allocations: 108 kB / 1.543 GB, free: 5.812 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.6708, allocations: 1.274 MB / 1.544 GB, free: 4.535 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.001054/0.6718, allocations: 0.5063 MB / 1.544 GB, free: 4.027 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.001684/0.6735, allocations: 0.5368 MB / 1.545 GB, free: 3.488 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.00545/0.679, allocations: 2.157 MB / 1.547 GB, free: 1.324 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.679, allocations: 4 kB / 1.547 GB, free: 1.32 MB / 1.233 GB Notification: Performance of FrontEnd: time 2.455e-06/0.679, allocations: 0 / 1.547 GB, free: 1.32 MB / 1.233 GB Notification: Performance of Transformations before backend: time 7.976e-05/0.6791, allocations: 0 / 1.547 GB, free: 1.32 MB / 1.233 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.004696/0.6838, allocations: 1.473 MB / 1.549 GB, free: 15.81 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.778e-05/0.6838, allocations: 11.97 kB / 1.549 GB, free: 15.8 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003547/0.6873, allocations: 482.7 kB / 1.549 GB, free: 15.32 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002415/0.6898, allocations: 0.7825 MB / 1.55 GB, free: 14.52 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.488e-05/0.6898, allocations: 66 kB / 1.55 GB, free: 14.45 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/0.6901, allocations: 87.94 kB / 1.55 GB, free: 14.37 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.6934, allocations: 1.563 MB / 1.551 GB, free: 12.69 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.6934, allocations: 0 / 1.551 GB, free: 12.69 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001399/0.6935, allocations: 36 kB / 1.552 GB, free: 12.65 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.865e-05/0.6936, allocations: 34 kB / 1.552 GB, free: 12.62 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002853/0.6964, allocations: 1.062 MB / 1.553 GB, free: 11.56 MB / 1.248 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.008156/0.7046, allocations: 3.138 MB / 1.556 GB, free: 8.34 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/0.7068, allocations: 0.717 MB / 1.556 GB, free: 7.613 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.7078, allocations: 394.1 kB / 1.557 GB, free: 7.227 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001727/0.708, allocations: 19.98 kB / 1.557 GB, free: 7.207 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/0.7081, allocations: 42.55 kB / 1.557 GB, free: 7.156 MB / 1.248 GB Notification: Performance of pre-optimization done (n=43): time 2.986e-06/0.7081, allocations: 0 / 1.557 GB, free: 7.156 MB / 1.248 GB Notification: Performance of matching and sorting (n=45): time 0.007417/0.7155, allocations: 2.097 MB / 1.559 GB, free: 5.027 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.777e-05/0.7155, allocations: 63.33 kB / 1.559 GB, free: 4.953 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00142/0.717, allocations: 0.6721 MB / 1.56 GB, free: 4.27 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.7171, allocations: 37.7 kB / 1.56 GB, free: 4.227 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005902/0.7177, allocations: 0.4999 MB / 1.56 GB, free: 3.719 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002808/0.718, allocations: 170.5 kB / 1.56 GB, free: 3.551 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003138/0.7183, allocations: 126.2 kB / 1.56 GB, free: 3.422 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002991/0.7186, allocations: 382.8 kB / 1.561 GB, free: 3.039 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.7197, allocations: 369 kB / 1.561 GB, free: 2.68 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/0.721, allocations: 0.5515 MB / 1.562 GB, free: 2.062 MB / 1.248 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.006793/0.7278, allocations: 2.193 MB / 1.564 GB, free: 15.82 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.137e-05/0.7278, allocations: 4 kB / 1.564 GB, free: 15.81 MB / 1.264 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002699/0.7305, allocations: 0.9694 MB / 1.565 GB, free: 14.84 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.265e-05/0.7305, allocations: 9.094 kB / 1.565 GB, free: 14.83 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/0.7305, allocations: 4.125 kB / 1.565 GB, free: 14.82 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.114e-05/0.7306, allocations: 8 kB / 1.565 GB, free: 14.82 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/0.7316, allocations: 191.7 kB / 1.565 GB, free: 14.63 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.781e-05/0.7316, allocations: 15.92 kB / 1.565 GB, free: 14.61 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001206/0.7328, allocations: 67.88 kB / 1.565 GB, free: 14.55 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.751e-05/0.7329, allocations: 23.98 kB / 1.565 GB, free: 14.52 MB / 1.264 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.0007579/0.7337, allocations: 313.5 kB / 1.565 GB, free: 14.21 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/0.734, allocations: 83.48 kB / 1.565 GB, free: 14.12 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000291/0.7343, allocations: 87.14 kB / 1.565 GB, free: 14.04 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.774e-06/0.7343, allocations: 4 kB / 1.565 GB, free: 14.04 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/0.7343, allocations: 3.938 kB / 1.565 GB, free: 14.03 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002329/0.7366, allocations: 1.026 MB / 1.566 GB, free: 12.92 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005308/0.7419, allocations: 1.887 MB / 1.568 GB, free: 10.95 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.917e-06/0.7419, allocations: 4 kB / 1.568 GB, free: 10.95 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009514/0.7429, allocations: 164.1 kB / 1.568 GB, free: 10.79 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.7429, allocations: 8 kB / 1.568 GB, free: 10.78 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.777e-05/0.743, allocations: 15.98 kB / 1.569 GB, free: 10.77 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.335e-05/0.743, allocations: 7.938 kB / 1.569 GB, free: 10.76 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.672e-06/0.743, allocations: 7.984 kB / 1.569 GB, free: 10.75 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003492/0.7465, allocations: 1.396 MB / 1.57 GB, free: 9.293 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006016/0.7471, allocations: 163.4 kB / 1.57 GB, free: 9.133 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/0.7473, allocations: 11.98 kB / 1.57 GB, free: 9.121 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001015/0.7483, allocations: 70.12 kB / 1.57 GB, free: 9.055 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.7484, allocations: 39.81 kB / 1.57 GB, free: 9.016 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.739e-05/0.7485, allocations: 35.97 kB / 1.57 GB, free: 8.98 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008039/0.7493, allocations: 455 kB / 1.571 GB, free: 8.539 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7493, allocations: 0 / 1.571 GB, free: 8.539 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001278/0.7506, allocations: 271.9 kB / 1.571 GB, free: 8.273 MB / 1.264 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.0005652/0.7512, allocations: 197.1 kB / 1.571 GB, free: 8.07 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.002435/0.7536, allocations: 0.7967 MB / 1.572 GB, free: 7.277 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.7536, allocations: 0 / 1.572 GB, free: 7.277 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.00112/0.7547, allocations: 380.8 kB / 1.572 GB, free: 6.906 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002596/0.7573, allocations: 456.9 kB / 1.573 GB, free: 6.473 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006153/0.7635, allocations: 2.177 MB / 1.575 GB, free: 4.223 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008922/0.7644, allocations: 0.5118 MB / 1.575 GB, free: 3.676 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001004/0.7654, allocations: 222.3 kB / 1.575 GB, free: 3.453 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003405/0.7657, allocations: 72.48 kB / 1.576 GB, free: 3.383 MB / 1.264 GB Notification: Performance of SimCode: time 1.673e-06/0.7657, allocations: 0 / 1.576 GB, free: 3.383 MB / 1.264 GB Notification: Performance of Templates: time 0.03657/0.8023, allocations: 18.27 MB / 1.593 GB, free: 1.531 MB / 1.279 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.778112709522247]