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.001427/0.001427, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001678/0.001678, allocations: 216.5 kB / 23.01 MB, free: 4.566 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 179] 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.959/2.959, allocations: 0.505 GB / 0.8108 GB, free: 22 MB / 0.6231 GB " [Timeout remaining time 177] 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.002054/0.002054, allocations: 65.69 kB / 1.178 GB, free: 16.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3171, allocations: 180.2 MB / 1.354 GB, free: 7.914 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlowPrescribedHeatFlowRate): time 0.2079/0.525, allocations: 194.5 MB / 1.544 GB, free: 4.688 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.009448/0.5345, allocations: 5.757 MB / 1.55 GB, free: 14.92 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001113/0.5356, allocations: 55.5 kB / 1.55 GB, free: 14.87 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001394/0.537, allocations: 0.5981 MB / 1.55 GB, free: 14.27 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.003829/0.5408, allocations: 1.711 MB / 1.552 GB, free: 12.55 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.003011/0.5438, allocations: 1.257 MB / 1.553 GB, free: 11.3 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003403/0.5472, allocations: 2.605 MB / 1.556 GB, free: 8.684 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.5484, allocations: 0.763 MB / 1.556 GB, free: 7.902 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002426/0.5508, allocations: 1.265 MB / 1.558 GB, free: 6.633 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001882/0.5527, allocations: 0.9186 MB / 1.559 GB, free: 5.719 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.5528, allocations: 108 kB / 1.559 GB, free: 5.613 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.5559, allocations: 1.641 MB / 1.56 GB, free: 3.969 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0005519/0.5564, allocations: 0.5025 MB / 1.561 GB, free: 3.465 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007555/0.5572, allocations: 0.6416 MB / 1.561 GB, free: 2.82 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003016/0.5602, allocations: 2.192 MB / 1.564 GB, free: 0.6211 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.5602, allocations: 0 / 1.564 GB, free: 0.6211 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.303e-06/0.5602, allocations: 0 / 1.564 GB, free: 0.6211 MB / 1.248 GB Notification: Performance of Transformations before backend: time 1.334e-05/0.5602, allocations: 4 kB / 1.564 GB, free: 0.6172 MB / 1.248 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.002393/0.5626, allocations: 1.477 MB / 1.565 GB, free: 15.1 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5627, allocations: 11.97 kB / 1.565 GB, free: 15.09 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002936/0.5656, allocations: 482.7 kB / 1.566 GB, free: 14.61 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001599/0.5672, allocations: 0.7838 MB / 1.566 GB, free: 13.8 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.871e-05/0.5672, allocations: 62 kB / 1.566 GB, free: 13.74 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/0.5674, allocations: 88 kB / 1.566 GB, free: 13.66 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002155/0.5695, allocations: 1.179 MB / 1.568 GB, free: 12.45 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.584e-05/0.5696, allocations: 11.95 kB / 1.568 GB, free: 12.44 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.108e-05/0.5697, allocations: 36 kB / 1.568 GB, free: 12.41 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.778e-05/0.5697, allocations: 37.98 kB / 1.568 GB, free: 12.37 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002288/0.572, allocations: 1.066 MB / 1.569 GB, free: 11.3 MB / 1.264 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.0071/0.5791, allocations: 4.417 MB / 1.573 GB, free: 6.598 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.5809, allocations: 0.7236 MB / 1.574 GB, free: 5.867 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009024/0.5818, allocations: 389.8 kB / 1.574 GB, free: 5.484 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001505/0.582, allocations: 23.98 kB / 1.574 GB, free: 5.461 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.333e-05/0.582, allocations: 38.56 kB / 1.574 GB, free: 5.414 MB / 1.264 GB Notification: Performance of pre-optimization done (n=43): time 2.585e-06/0.582, allocations: 7.938 kB / 1.574 GB, free: 5.406 MB / 1.264 GB Notification: Performance of matching and sorting (n=45): time 0.005649/0.5877, allocations: 2.112 MB / 1.576 GB, free: 3.262 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.5877, allocations: 67.28 kB / 1.576 GB, free: 3.184 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/0.5889, allocations: 0.8725 MB / 1.577 GB, free: 2.305 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 6.406e-05/0.5889, allocations: 37.7 kB / 1.577 GB, free: 2.262 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.000427/0.5893, allocations: 496.3 kB / 1.578 GB, free: 1.77 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001697/0.5895, allocations: 174.5 kB / 1.578 GB, free: 1.598 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002096/0.5897, allocations: 126.2 kB / 1.578 GB, free: 1.469 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5899, allocations: 322 kB / 1.578 GB, free: 1.148 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009051/0.5908, allocations: 377 kB / 1.579 GB, free: 0.7773 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009835/0.5918, allocations: 0.4935 MB / 1.579 GB, free: 240 kB / 1.264 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.005812/0.5976, allocations: 2.192 MB / 1.581 GB, free: 13.99 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.5976, allocations: 0 / 1.581 GB, free: 13.99 MB / 1.279 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002254/0.5998, allocations: 0.9849 MB / 1.582 GB, free: 13 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.96e-05/0.5998, allocations: 8 kB / 1.582 GB, free: 12.99 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.5999, allocations: 4 kB / 1.582 GB, free: 12.98 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.5999, allocations: 4 kB / 1.582 GB, free: 12.98 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009089/0.6008, allocations: 199.8 kB / 1.582 GB, free: 12.79 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.6008, allocations: 8 kB / 1.582 GB, free: 12.78 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009928/0.6018, allocations: 63.88 kB / 1.582 GB, free: 12.71 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.6019, allocations: 27.98 kB / 1.582 GB, free: 12.69 MB / 1.279 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.0005449/0.6024, allocations: 321.5 kB / 1.583 GB, free: 12.36 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.6026, allocations: 99.39 kB / 1.583 GB, free: 12.27 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/0.6028, allocations: 104.8 kB / 1.583 GB, free: 12.16 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.6028, allocations: 7.938 kB / 1.583 GB, free: 12.15 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6028, allocations: 0 / 1.583 GB, free: 12.15 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001906/0.6047, allocations: 1.022 MB / 1.584 GB, free: 11.04 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004557/0.6092, allocations: 2.112 MB / 1.586 GB, free: 8.84 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6093, allocations: 4 kB / 1.586 GB, free: 8.836 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00083/0.6101, allocations: 168.2 kB / 1.586 GB, free: 8.672 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/0.6101, allocations: 4 kB / 1.586 GB, free: 8.668 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.6101, allocations: 16 kB / 1.586 GB, free: 8.652 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-05/0.6101, allocations: 15.92 kB / 1.586 GB, free: 8.637 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6102, allocations: 7.938 kB / 1.586 GB, free: 8.629 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00295/0.6131, allocations: 1.411 MB / 1.588 GB, free: 7.152 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.6136, allocations: 183.3 kB / 1.588 GB, free: 6.973 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.6137, allocations: 16 kB / 1.588 GB, free: 6.957 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008408/0.6146, allocations: 71.8 kB / 1.588 GB, free: 6.887 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.058e-05/0.6147, allocations: 47.81 kB / 1.588 GB, free: 6.84 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/0.6147, allocations: 27.98 kB / 1.588 GB, free: 6.812 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.000773/0.6155, allocations: 0.6044 MB / 1.589 GB, free: 6.211 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.6155, allocations: 0 / 1.589 GB, free: 6.211 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0008246/0.6163, allocations: 267.9 kB / 1.589 GB, free: 5.949 MB / 1.279 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.0003577/0.6167, allocations: 190.7 kB / 1.589 GB, free: 5.754 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.002016/0.6187, allocations: 0.795 MB / 1.59 GB, free: 4.957 MB / 1.279 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/0.6187, allocations: 4 kB / 1.59 GB, free: 4.953 MB / 1.279 GB Notification: Performance of simCode: created simulation system equations: time 0.0009184/0.6196, allocations: 373.9 kB / 1.59 GB, free: 4.59 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002391/0.622, allocations: 0.5825 MB / 1.591 GB, free: 4.02 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004792/0.6268, allocations: 2.27 MB / 1.593 GB, free: 1.664 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000723/0.6275, allocations: 1.11 MB / 1.594 GB, free: 0.5273 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002997/0.6278, allocations: 83.41 kB / 1.594 GB, free: 460 kB / 1.279 GB Notification: Performance of SimCode: time 9.82e-07/0.6278, allocations: 4 kB / 1.594 GB, free: 456 kB / 1.279 GB Notification: Performance of Templates: time 0.604/1.232, allocations: 17.08 MB / 1.611 GB, free: 254.5 MB / 1.295 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/jenkins1/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] "" Variables in the reference:time,volDyn.ports[1].m_flow,gain.y,volDyn.C[1],volSte.C[1] Variables in the result:gain.y,time,volDyn.C[1],volDyn.ports[1].m_flow,volSte.C[1] [Calling sys.exit(0), Time elapsed: 13.902769979002187]