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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001475/0.001475, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001552/0.001552, allocations: 191.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.91/2.91, allocations: 0.4893 GB / 0.7884 GB, free: 33.25 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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.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 0.001886/0.001886, allocations: 63.83 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2933, allocations: 174.9 MB / 1.316 GB, free: 9.668 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2025/0.4957, allocations: 191.6 MB / 1.503 GB, free: 9.383 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.009891/0.5056, allocations: 5.756 MB / 1.509 GB, free: 3.613 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001076/0.5067, allocations: 51.56 kB / 1.509 GB, free: 3.562 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.5082, allocations: 0.5981 MB / 1.509 GB, free: 2.961 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003872/0.5121, allocations: 1.703 MB / 1.511 GB, free: 1.25 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.5151, allocations: 1.247 MB / 1.512 GB, free: 8 kB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.00332/0.5184, allocations: 2.623 MB / 1.515 GB, free: 13.38 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001038/0.5195, allocations: 0.7592 MB / 1.516 GB, free: 12.6 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00211/0.5216, allocations: 1.269 MB / 1.517 GB, free: 11.33 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001632/0.5232, allocations: 0.9138 MB / 1.518 GB, free: 10.42 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.5233, allocations: 108 kB / 1.518 GB, free: 10.31 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002751/0.5261, allocations: 1.645 MB / 1.519 GB, free: 8.664 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0005115/0.5266, allocations: 0.5063 MB / 1.52 GB, free: 8.156 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006669/0.5273, allocations: 0.6417 MB / 1.521 GB, free: 7.512 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002792/0.5301, allocations: 2.184 MB / 1.523 GB, free: 5.32 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5301, allocations: 0 / 1.523 GB, free: 5.32 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5301, allocations: 0 / 1.523 GB, free: 5.32 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.5301, allocations: 3.938 kB / 1.523 GB, free: 5.316 MB / 1.217 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.002362/0.5325, allocations: 1.488 MB / 1.524 GB, free: 3.789 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/0.5325, allocations: 8.031 kB / 1.524 GB, free: 3.781 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002823/0.5353, allocations: 474.8 kB / 1.525 GB, free: 3.316 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.5368, allocations: 0.7877 MB / 1.525 GB, free: 2.5 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.5369, allocations: 66 kB / 1.525 GB, free: 2.438 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001407/0.537, allocations: 84 kB / 1.525 GB, free: 2.355 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002141/0.5392, allocations: 1.171 MB / 1.527 GB, free: 1.16 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.411e-05/0.5392, allocations: 3.938 kB / 1.527 GB, free: 1.156 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.231e-05/0.5393, allocations: 39.98 kB / 1.527 GB, free: 1.117 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.531e-05/0.5393, allocations: 37.98 kB / 1.527 GB, free: 1.082 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002273/0.5416, allocations: 1.07 MB / 1.528 GB, free: 8 kB / 1.217 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.006849/0.5484, allocations: 4.421 MB / 1.532 GB, free: 11.29 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001833/0.5503, allocations: 0.7176 MB / 1.533 GB, free: 10.57 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000925/0.5512, allocations: 384.5 kB / 1.533 GB, free: 10.19 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001431/0.5514, allocations: 23.98 kB / 1.533 GB, free: 10.16 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.322e-05/0.5514, allocations: 42.56 kB / 1.533 GB, free: 10.11 MB / 1.232 GB Notification: Performance of pre-optimization done (n=43): time 1.984e-06/0.5514, allocations: 0 / 1.533 GB, free: 10.11 MB / 1.232 GB Notification: Performance of matching and sorting (n=45): time 0.005509/0.5569, allocations: 2.116 MB / 1.535 GB, free: 7.961 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.5569, allocations: 63.34 kB / 1.535 GB, free: 7.887 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.5581, allocations: 0.8685 MB / 1.536 GB, free: 7.012 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 6.032e-05/0.5582, allocations: 37.7 kB / 1.536 GB, free: 6.969 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004434/0.5586, allocations: 0.4963 MB / 1.537 GB, free: 6.465 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001689/0.5588, allocations: 170.6 kB / 1.537 GB, free: 6.297 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.559, allocations: 122.2 kB / 1.537 GB, free: 6.172 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.5592, allocations: 330 kB / 1.537 GB, free: 5.844 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009117/0.5601, allocations: 369 kB / 1.538 GB, free: 5.484 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001018/0.5611, allocations: 0.4974 MB / 1.538 GB, free: 4.93 MB / 1.232 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.005868/0.567, allocations: 2.201 MB / 1.54 GB, free: 2.68 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.567, allocations: 0 / 1.54 GB, free: 2.68 MB / 1.232 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002202/0.5692, allocations: 0.9812 MB / 1.541 GB, free: 1.691 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.5692, allocations: 8 kB / 1.541 GB, free: 1.684 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5692, allocations: 4 kB / 1.541 GB, free: 1.68 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.5692, allocations: 8 kB / 1.541 GB, free: 1.672 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009213/0.5701, allocations: 199.7 kB / 1.541 GB, free: 1.477 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.178e-05/0.5701, allocations: 8 kB / 1.541 GB, free: 1.469 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/0.571, allocations: 71.89 kB / 1.542 GB, free: 1.398 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.703e-05/0.5711, allocations: 27.98 kB / 1.542 GB, free: 1.371 MB / 1.232 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.0005074/0.5716, allocations: 309.5 kB / 1.542 GB, free: 1.059 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001587/0.5718, allocations: 99.38 kB / 1.542 GB, free: 0.9609 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002619/0.572, allocations: 108.8 kB / 1.542 GB, free: 0.8555 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.572, allocations: 7.938 kB / 1.542 GB, free: 0.8477 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.572, allocations: 0 / 1.542 GB, free: 0.8477 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00193/0.574, allocations: 1.026 MB / 1.543 GB, free: 15.73 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004443/0.5784, allocations: 2.108 MB / 1.545 GB, free: 13.54 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.5784, allocations: 4 kB / 1.545 GB, free: 13.53 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008527/0.5793, allocations: 168.1 kB / 1.545 GB, free: 13.37 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.789e-06/0.5793, allocations: 8 kB / 1.545 GB, free: 13.36 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.649e-05/0.5793, allocations: 19.98 kB / 1.545 GB, free: 13.34 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.5793, allocations: 7.938 kB / 1.545 GB, free: 13.33 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.5793, allocations: 7.938 kB / 1.545 GB, free: 13.32 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003072/0.5824, allocations: 1.419 MB / 1.547 GB, free: 11.84 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004985/0.5829, allocations: 187.3 kB / 1.547 GB, free: 11.66 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000126/0.583, allocations: 16 kB / 1.547 GB, free: 11.64 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008681/0.5839, allocations: 65.89 kB / 1.547 GB, free: 11.58 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001072/0.584, allocations: 39.88 kB / 1.547 GB, free: 11.54 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.619e-05/0.5841, allocations: 27.98 kB / 1.547 GB, free: 11.52 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001005/0.5851, allocations: 0.6005 MB / 1.548 GB, free: 10.92 MB / 1.248 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5851, allocations: 0 / 1.548 GB, free: 10.92 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001014/0.5861, allocations: 267.9 kB / 1.548 GB, free: 10.66 MB / 1.248 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.0006012/0.5867, allocations: 204.8 kB / 1.548 GB, free: 10.45 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.002033/0.5887, allocations: 0.7911 MB / 1.549 GB, free: 9.664 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.5887, allocations: 4 kB / 1.549 GB, free: 9.66 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0009533/0.5897, allocations: 381 kB / 1.549 GB, free: 9.289 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002182/0.5919, allocations: 0.5884 MB / 1.55 GB, free: 8.719 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004749/0.5966, allocations: 2.19 MB / 1.552 GB, free: 6.453 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007947/0.5974, allocations: 1.11 MB / 1.553 GB, free: 5.312 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008138/0.5982, allocations: 255.8 kB / 1.553 GB, free: 5.059 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002664/0.5985, allocations: 83.42 kB / 1.553 GB, free: 4.977 MB / 1.248 GB Notification: Performance of SimCode: time 8.42e-07/0.5985, allocations: 0 / 1.553 GB, free: 4.977 MB / 1.248 GB Notification: Performance of Templates: time 0.03625/0.6347, allocations: 21.62 MB / 1.574 GB, free: 15.66 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: 8.777012148872018]