Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00159/0.00159, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001825/0.001825, allocations: 215.1 kB / 22.99 MB, free: 4.945 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.772/2.772, allocations: 476 MB / 0.7707 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_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.002119/0.002119, allocations: 70.5 kB / 1.118 GB, free: 41.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3438, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2248/0.5685, allocations: 168.4 MB / 1.448 GB, free: 2.949 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01058/0.5791, allocations: 5.409 MB / 1.454 GB, free: 13.53 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001713/0.5808, allocations: 59.5 kB / 1.454 GB, free: 13.47 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.002005/0.5828, allocations: 0.5475 MB / 1.454 GB, free: 12.92 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005359/0.5882, allocations: 1.914 MB / 1.456 GB, free: 11 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003463/0.5916, allocations: 1.201 MB / 1.457 GB, free: 9.805 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004625/0.5963, allocations: 3.013 MB / 1.46 GB, free: 6.789 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.5978, allocations: 0.8048 MB / 1.461 GB, free: 5.965 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00232/0.6001, allocations: 1.129 MB / 1.462 GB, free: 4.832 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002312/0.6024, allocations: 0.9972 MB / 1.463 GB, free: 3.836 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002455/0.6027, allocations: 124 kB / 1.463 GB, free: 3.715 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.6056, allocations: 1.216 MB / 1.464 GB, free: 2.496 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0006969/0.6062, allocations: 0.5882 MB / 1.465 GB, free: 1.906 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0008719/0.6071, allocations: 0.5991 MB / 1.465 GB, free: 1.305 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003454/0.6106, allocations: 2.309 MB / 1.468 GB, free: 14.99 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6106, allocations: 0 / 1.468 GB, free: 14.99 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.695e-06/0.6106, allocations: 0 / 1.468 GB, free: 14.99 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.403e-05/0.6106, allocations: 0 / 1.468 GB, free: 14.99 MB / 1.17 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.002832/0.6134, allocations: 1.59 MB / 1.469 GB, free: 13.36 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.6135, allocations: 12.03 kB / 1.469 GB, free: 13.35 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001977/0.6155, allocations: 338.9 kB / 1.47 GB, free: 13.02 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001823/0.6173, allocations: 0.8383 MB / 1.47 GB, free: 12.15 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/0.6174, allocations: 74 kB / 1.47 GB, free: 12.08 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000166/0.6175, allocations: 99.98 kB / 1.471 GB, free: 11.98 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002178/0.6197, allocations: 1.533 MB / 1.472 GB, free: 10.33 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.6197, allocations: 3.984 kB / 1.472 GB, free: 10.33 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-05/0.6198, allocations: 47.94 kB / 1.472 GB, free: 10.28 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.467e-05/0.6199, allocations: 34 kB / 1.472 GB, free: 10.25 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.6216, allocations: 0.9954 MB / 1.473 GB, free: 9.25 MB / 1.17 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.006104/0.6277, allocations: 2.722 MB / 1.476 GB, free: 6.48 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/0.6287, allocations: 0.5674 MB / 1.476 GB, free: 5.91 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005233/0.6292, allocations: 318.5 kB / 1.477 GB, free: 5.594 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001602/0.6293, allocations: 20.42 kB / 1.477 GB, free: 5.574 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.302e-05/0.6294, allocations: 47 kB / 1.477 GB, free: 5.52 MB / 1.17 GB Notification: Performance of pre-optimization done (n=53): time 2.896e-06/0.6294, allocations: 4 kB / 1.477 GB, free: 5.516 MB / 1.17 GB Notification: Performance of matching and sorting (n=55): time 0.004251/0.6336, allocations: 1.896 MB / 1.479 GB, free: 3.57 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.6337, allocations: 59.91 kB / 1.479 GB, free: 3.5 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009279/0.6346, allocations: 0.6995 MB / 1.479 GB, free: 2.793 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.132e-05/0.6347, allocations: 37.7 kB / 1.479 GB, free: 2.75 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004583/0.6351, allocations: 0.539 MB / 1.48 GB, free: 2.203 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.6353, allocations: 202.2 kB / 1.48 GB, free: 2.004 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002301/0.6356, allocations: 134.6 kB / 1.48 GB, free: 1.863 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0002221/0.6358, allocations: 386.8 kB / 1.481 GB, free: 1.477 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/0.6363, allocations: 289.8 kB / 1.481 GB, free: 1.195 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000662/0.637, allocations: 488.4 kB / 1.481 GB, free: 0.6562 MB / 1.17 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.003979/0.641, allocations: 1.67 MB / 1.483 GB, free: 14.93 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.641, allocations: 4 kB / 1.483 GB, free: 14.93 MB / 1.186 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001619/0.6426, allocations: 0.909 MB / 1.484 GB, free: 14 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.988e-05/0.6426, allocations: 6.188 kB / 1.484 GB, free: 14 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.6426, allocations: 8.484 kB / 1.484 GB, free: 13.99 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.6428, allocations: 102.5 kB / 1.484 GB, free: 13.88 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/0.6436, allocations: 167.7 kB / 1.484 GB, free: 13.71 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003901/0.6475, allocations: 4.253 MB / 1.488 GB, free: 9.156 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009078/0.6484, allocations: 31.94 kB / 1.488 GB, free: 9.125 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.249e-05/0.6484, allocations: 27.98 kB / 1.488 GB, free: 9.098 MB / 1.186 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.0006407/0.6491, allocations: 341.5 kB / 1.489 GB, free: 8.754 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.6492, allocations: 95.58 kB / 1.489 GB, free: 8.66 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.6494, allocations: 95.73 kB / 1.489 GB, free: 8.562 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.6494, allocations: 11.92 kB / 1.489 GB, free: 8.551 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.6494, allocations: 4 kB / 1.489 GB, free: 8.547 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001173/0.6506, allocations: 0.756 MB / 1.49 GB, free: 7.742 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.6537, allocations: 1.697 MB / 1.491 GB, free: 5.969 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.6538, allocations: 4 kB / 1.491 GB, free: 5.965 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000695/0.6544, allocations: 148.2 kB / 1.491 GB, free: 5.82 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001064/0.6546, allocations: 48.7 kB / 1.491 GB, free: 5.77 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.148e-05/0.6546, allocations: 16 kB / 1.491 GB, free: 5.754 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/0.6559, allocations: 1.476 MB / 1.493 GB, free: 4.176 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.6559, allocations: 7.938 kB / 1.493 GB, free: 4.168 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.6578, allocations: 1.187 MB / 1.494 GB, free: 2.918 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005029/0.6583, allocations: 163.4 kB / 1.494 GB, free: 2.758 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001128/0.6584, allocations: 16 kB / 1.494 GB, free: 2.742 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006791/0.6591, allocations: 37.67 kB / 1.494 GB, free: 2.707 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.6592, allocations: 55.58 kB / 1.494 GB, free: 2.652 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.804e-05/0.6593, allocations: 27.98 kB / 1.494 GB, free: 2.625 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006327/0.6599, allocations: 483 kB / 1.495 GB, free: 2.156 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/0.6599, allocations: 0 / 1.495 GB, free: 2.156 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000991/0.6609, allocations: 303.9 kB / 1.495 GB, free: 1.859 MB / 1.186 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.0003536/0.6613, allocations: 179 kB / 1.495 GB, free: 1.676 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.001641/0.6629, allocations: 0.9829 MB / 1.496 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6629, allocations: 0 / 1.496 GB, free: 0.6562 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0006456/0.6635, allocations: 432.1 kB / 1.497 GB, free: 228 kB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/0.6658, allocations: 0.5208 MB / 1.497 GB, free: 15.72 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003693/0.6695, allocations: 2.207 MB / 1.499 GB, free: 13.43 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006571/0.6702, allocations: 0.5737 MB / 1.5 GB, free: 12.83 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.6704, allocations: 71.42 kB / 1.5 GB, free: 12.76 MB / 1.201 GB Notification: Performance of SimCode: time 8.52e-07/0.6704, allocations: 3.938 kB / 1.5 GB, free: 12.76 MB / 1.201 GB Notification: Performance of Templates: time 0.03455/0.705, allocations: 25.77 MB / 1.525 GB, free: 3.094 MB / 1.217 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 14.900713040027767]