Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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.001701/0.001701, allocations: 111.7 kB / 17.13 MB, free: 5.926 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.002084/0.002084, allocations: 204 kB / 20.09 MB, free: 2.977 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.461/1.461, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.865/2.865, allocations: 0.49 GB / 0.7923 GB, free: 1.258 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") translateModel(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|volDyn.ports.1..m_flow|gain.y|volDyn.C.1.|volSte.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow") [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.002016/0.002016, allocations: 67.89 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9456/0.9476, allocations: 176.1 MB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2486/1.196, allocations: 194.1 MB / 1.512 GB, free: 7.051 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01042/1.207, allocations: 5.744 MB / 1.517 GB, free: 1.297 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001993/1.209, allocations: 59.5 kB / 1.517 GB, free: 1.238 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001878/1.21, allocations: 0.5981 MB / 1.518 GB, free: 0.6367 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005714/1.216, allocations: 1.902 MB / 1.52 GB, free: 14.73 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003409/1.22, allocations: 1.192 MB / 1.521 GB, free: 13.54 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004676/1.224, allocations: 2.958 MB / 1.524 GB, free: 10.58 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/1.226, allocations: 0.9369 MB / 1.525 GB, free: 9.625 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003148/1.229, allocations: 1.316 MB / 1.526 GB, free: 8.305 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002421/1.231, allocations: 1.016 MB / 1.527 GB, free: 7.289 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002223/1.232, allocations: 120 kB / 1.527 GB, free: 7.172 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003374/1.235, allocations: 1.52 MB / 1.529 GB, free: 5.648 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0006937/1.236, allocations: 0.5882 MB / 1.529 GB, free: 5.059 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009595/1.237, allocations: 0.7195 MB / 1.53 GB, free: 4.336 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.003903/1.241, allocations: 2.344 MB / 1.532 GB, free: 1.984 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.241, allocations: 0 / 1.532 GB, free: 1.984 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.623e-06/1.241, allocations: 0 / 1.532 GB, free: 1.984 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.739e-05/1.241, allocations: 0 / 1.532 GB, free: 1.984 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.002885/1.243, allocations: 1.661 MB / 1.534 GB, free: 272 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/1.243, allocations: 12.03 kB / 1.534 GB, free: 260 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002071/1.246, allocations: 335.1 kB / 1.534 GB, free: 15.92 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/1.247, allocations: 0.926 MB / 1.535 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.422e-05/1.247, allocations: 74 kB / 1.535 GB, free: 14.88 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001458/1.247, allocations: 96 kB / 1.535 GB, free: 14.79 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001878/1.249, allocations: 1.081 MB / 1.536 GB, free: 13.7 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/1.249, allocations: 0 / 1.536 GB, free: 13.7 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001037/1.249, allocations: 44 kB / 1.536 GB, free: 13.66 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.328e-05/1.249, allocations: 41.98 kB / 1.536 GB, free: 13.62 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00172/1.251, allocations: 0.9876 MB / 1.537 GB, free: 12.63 MB / 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.006469/1.258, allocations: 4.391 MB / 1.541 GB, free: 7.91 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009284/1.258, allocations: 0.5668 MB / 1.542 GB, free: 7.332 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005333/1.259, allocations: 322.5 kB / 1.542 GB, free: 7.012 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002029/1.259, allocations: 113.5 kB / 1.542 GB, free: 6.883 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/1.259, allocations: 39 kB / 1.542 GB, free: 6.836 MB / 1.217 GB Notification: Performance of pre-optimization done (n=53): time 2.956e-06/1.259, allocations: 0 / 1.542 GB, free: 6.836 MB / 1.217 GB Notification: Performance of matching and sorting (n=55): time 0.004408/1.264, allocations: 2.214 MB / 1.545 GB, free: 4.508 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.976e-05/1.264, allocations: 63.91 kB / 1.545 GB, free: 4.434 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/1.265, allocations: 0.8844 MB / 1.546 GB, free: 3.539 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 5.824e-05/1.265, allocations: 37.7 kB / 1.546 GB, free: 3.496 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000418/1.265, allocations: 0.5235 MB / 1.546 GB, free: 2.965 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001896/1.266, allocations: 206.3 kB / 1.546 GB, free: 2.762 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002213/1.266, allocations: 134.6 kB / 1.546 GB, free: 2.625 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.266, allocations: 334 kB / 1.547 GB, free: 2.293 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005234/1.266, allocations: 285.8 kB / 1.547 GB, free: 2.012 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006428/1.267, allocations: 437 kB / 1.547 GB, free: 1.535 MB / 1.217 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.004248/1.271, allocations: 1.745 MB / 1.549 GB, free: 15.72 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/1.271, allocations: 0 / 1.549 GB, free: 15.72 MB / 1.232 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001831/1.273, allocations: 0.9301 MB / 1.55 GB, free: 14.77 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/1.273, allocations: 10.66 kB / 1.55 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/1.273, allocations: 7.938 kB / 1.55 GB, free: 14.76 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002318/1.273, allocations: 98.89 kB / 1.55 GB, free: 14.65 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007485/1.274, allocations: 163.8 kB / 1.55 GB, free: 14.49 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/1.278, allocations: 4.625 MB / 1.555 GB, free: 9.449 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/1.279, allocations: 31.92 kB / 1.555 GB, free: 9.418 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.123e-05/1.279, allocations: 27.98 kB / 1.555 GB, free: 9.391 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,1), (1,1), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006502/1.28, allocations: 342.2 kB / 1.555 GB, free: 9.047 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001851/1.28, allocations: 111.3 kB / 1.555 GB, free: 8.938 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002411/1.281, allocations: 121.2 kB / 1.555 GB, free: 8.816 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/1.281, allocations: 4 kB / 1.555 GB, free: 8.812 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/1.281, allocations: 0 / 1.555 GB, free: 8.812 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001233/1.282, allocations: 0.7652 MB / 1.556 GB, free: 7.992 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/1.285, allocations: 1.977 MB / 1.558 GB, free: 5.91 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/1.285, allocations: 7.938 kB / 1.558 GB, free: 5.902 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/1.286, allocations: 147.8 kB / 1.558 GB, free: 5.758 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001144/1.286, allocations: 45.23 kB / 1.558 GB, free: 5.711 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.346e-05/1.286, allocations: 23.98 kB / 1.558 GB, free: 5.688 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/1.287, allocations: 1.598 MB / 1.56 GB, free: 3.945 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.712e-06/1.287, allocations: 7.938 kB / 1.56 GB, free: 3.938 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/1.289, allocations: 1.208 MB / 1.561 GB, free: 2.672 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004544/1.29, allocations: 260.4 kB / 1.561 GB, free: 2.398 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.29, allocations: 19.98 kB / 1.561 GB, free: 2.379 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007186/1.291, allocations: 34.34 kB / 1.561 GB, free: 2.348 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/1.291, allocations: 51.81 kB / 1.561 GB, free: 2.297 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.836e-05/1.291, allocations: 31.98 kB / 1.561 GB, free: 2.266 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008527/1.292, allocations: 0.6083 MB / 1.562 GB, free: 1.664 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.292, allocations: 4 kB / 1.562 GB, free: 1.66 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0011/1.293, allocations: 307.9 kB / 1.562 GB, free: 1.359 MB / 1.232 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004375/1.293, allocations: 190.4 kB / 1.563 GB, free: 1.168 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00174/1.295, allocations: 0.9799 MB / 1.564 GB, free: 156 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.107e-06/1.295, allocations: 4.25 kB / 1.564 GB, free: 152 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006893/1.296, allocations: 442.1 kB / 1.564 GB, free: 15.7 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00275/1.298, allocations: 0.6422 MB / 1.565 GB, free: 15.07 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/1.302, allocations: 2.221 MB / 1.567 GB, free: 12.78 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008993/1.303, allocations: 1.163 MB / 1.568 GB, free: 11.59 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/1.303, allocations: 83.42 kB / 1.568 GB, free: 11.5 MB / 1.248 GB Notification: Performance of SimCode: time 9.42e-07/1.303, allocations: 0 / 1.568 GB, free: 11.5 MB / 1.248 GB Notification: Performance of Templates: time 0.03654/1.34, allocations: 27.13 MB / 1.594 GB, free: 0.5039 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.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: 16.11028577000252]