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.001381/0.001381, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001475/0.001475, allocations: 221.7 kB / 23 MB, free: 4.914 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.464/1.464, allocations: 230.6 MB / 256.8 MB, free: 7.836 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 3.183/3.183, allocations: 0.4892 GB / 0.7951 GB, free: 35.46 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.002052/0.002052, allocations: 66.27 kB / 1.154 GB, free: 25.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3438/0.3458, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2268/0.5726, allocations: 168.5 MB / 1.491 GB, free: 8.754 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01078/0.5834, allocations: 5.426 MB / 1.496 GB, free: 3.316 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001669/0.5851, allocations: 59.5 kB / 1.496 GB, free: 3.258 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001989/0.5871, allocations: 0.5397 MB / 1.497 GB, free: 2.715 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005565/0.5926, allocations: 1.925 MB / 1.499 GB, free: 0.7812 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003581/0.5962, allocations: 1.206 MB / 1.5 GB, free: 15.58 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004783/0.601, allocations: 2.994 MB / 1.503 GB, free: 12.58 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001566/0.6026, allocations: 0.8204 MB / 1.503 GB, free: 11.74 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003102/0.6057, allocations: 1.327 MB / 1.505 GB, free: 10.41 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002651/0.6083, allocations: 0.9834 MB / 1.506 GB, free: 9.426 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0002903/0.6086, allocations: 128 kB / 1.506 GB, free: 9.301 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002979/0.6116, allocations: 1.192 MB / 1.507 GB, free: 8.105 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007528/0.6123, allocations: 0.5882 MB / 1.508 GB, free: 7.516 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0009571/0.6133, allocations: 0.6069 MB / 1.508 GB, free: 6.906 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004276/0.6176, allocations: 2.313 MB / 1.51 GB, free: 4.586 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.6176, allocations: 0 / 1.51 GB, free: 4.586 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.705e-06/0.6176, allocations: 0 / 1.51 GB, free: 4.586 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.876e-05/0.6176, allocations: 4 kB / 1.51 GB, free: 4.582 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.002949/0.6206, allocations: 1.578 MB / 1.512 GB, free: 2.965 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.6206, allocations: 12.03 kB / 1.512 GB, free: 2.953 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.6227, allocations: 334.9 kB / 1.512 GB, free: 2.625 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001965/0.6246, allocations: 0.8422 MB / 1.513 GB, free: 1.754 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.6247, allocations: 74 kB / 1.513 GB, free: 1.684 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001683/0.6249, allocations: 100 kB / 1.513 GB, free: 1.586 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.6272, allocations: 1.537 MB / 1.515 GB, free: 15.93 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.6272, allocations: 3.938 kB / 1.515 GB, free: 15.92 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.6273, allocations: 40 kB / 1.515 GB, free: 15.88 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/0.6274, allocations: 38 kB / 1.515 GB, free: 15.84 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.6292, allocations: 0.9915 MB / 1.516 GB, free: 14.86 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.005887/0.6351, allocations: 2.726 MB / 1.519 GB, free: 12.09 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009607/0.636, allocations: 0.5571 MB / 1.519 GB, free: 11.52 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005455/0.6366, allocations: 318.5 kB / 1.519 GB, free: 11.2 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001695/0.6367, allocations: 32.41 kB / 1.519 GB, free: 11.17 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.6368, allocations: 39 kB / 1.519 GB, free: 11.12 MB / 1.217 GB Notification: Performance of pre-optimization done (n=53): time 2.545e-06/0.6368, allocations: 0 / 1.519 GB, free: 11.12 MB / 1.217 GB Notification: Performance of matching and sorting (n=55): time 0.004256/0.641, allocations: 1.908 MB / 1.521 GB, free: 9.176 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.71e-05/0.6411, allocations: 55.91 kB / 1.521 GB, free: 9.109 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009355/0.642, allocations: 0.6957 MB / 1.522 GB, free: 8.402 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 6.358e-05/0.6421, allocations: 37.7 kB / 1.522 GB, free: 8.359 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004319/0.6425, allocations: 0.539 MB / 1.523 GB, free: 7.812 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002158/0.6427, allocations: 214.2 kB / 1.523 GB, free: 7.602 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.6429, allocations: 134.6 kB / 1.523 GB, free: 7.465 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.6432, allocations: 386.8 kB / 1.523 GB, free: 7.078 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000517/0.6437, allocations: 285.8 kB / 1.524 GB, free: 6.797 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007023/0.6444, allocations: 488.4 kB / 1.524 GB, free: 6.258 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.004163/0.6485, allocations: 1.669 MB / 1.526 GB, free: 4.535 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.6486, allocations: 0 / 1.526 GB, free: 4.535 MB / 1.217 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001703/0.6503, allocations: 0.9167 MB / 1.527 GB, free: 3.602 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.6503, allocations: 9.562 kB / 1.527 GB, free: 3.594 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.6503, allocations: 4 kB / 1.527 GB, free: 3.59 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002458/0.6505, allocations: 95.02 kB / 1.527 GB, free: 3.488 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007472/0.6513, allocations: 163.7 kB / 1.527 GB, free: 3.328 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004016/0.6553, allocations: 4.254 MB / 1.531 GB, free: 14.77 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009361/0.6562, allocations: 27.98 kB / 1.531 GB, free: 14.74 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.6563, allocations: 24 kB / 1.531 GB, free: 14.72 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.0006518/0.6569, allocations: 347.4 kB / 1.531 GB, free: 14.37 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001817/0.6571, allocations: 91.42 kB / 1.531 GB, free: 14.28 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001871/0.6573, allocations: 103.8 kB / 1.532 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.6573, allocations: 4 kB / 1.532 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6573, allocations: 0 / 1.532 GB, free: 14.18 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001224/0.6586, allocations: 0.7638 MB / 1.532 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003257/0.6618, allocations: 1.701 MB / 1.534 GB, free: 11.58 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.654e-06/0.6618, allocations: 4 kB / 1.534 GB, free: 11.57 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007012/0.6625, allocations: 144.2 kB / 1.534 GB, free: 11.43 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001111/0.6626, allocations: 52.7 kB / 1.534 GB, free: 11.38 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.555e-05/0.6627, allocations: 16 kB / 1.534 GB, free: 11.36 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.6641, allocations: 1.475 MB / 1.536 GB, free: 9.781 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6641, allocations: 4 kB / 1.536 GB, free: 9.777 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001911/0.666, allocations: 1.195 MB / 1.537 GB, free: 8.523 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00053/0.6665, allocations: 163.4 kB / 1.537 GB, free: 8.363 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001103/0.6666, allocations: 12 kB / 1.537 GB, free: 8.352 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006866/0.6673, allocations: 33.94 kB / 1.537 GB, free: 8.32 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/0.6675, allocations: 55.73 kB / 1.537 GB, free: 8.266 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.031e-05/0.6675, allocations: 31.98 kB / 1.537 GB, free: 8.234 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0006537/0.6682, allocations: 479 kB / 1.538 GB, free: 7.77 MB / 1.232 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6682, allocations: 7.938 kB / 1.538 GB, free: 7.762 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0009901/0.6692, allocations: 299.9 kB / 1.538 GB, free: 7.469 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.0003534/0.6695, allocations: 183.2 kB / 1.538 GB, free: 7.281 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001633/0.6712, allocations: 0.9793 MB / 1.539 GB, free: 6.266 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 6.572e-06/0.6712, allocations: 4 kB / 1.539 GB, free: 6.262 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0006726/0.6718, allocations: 439.5 kB / 1.539 GB, free: 5.82 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/0.6742, allocations: 0.5232 MB / 1.54 GB, free: 5.309 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00388/0.6781, allocations: 2.198 MB / 1.542 GB, free: 3.039 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007716/0.6788, allocations: 0.5776 MB / 1.543 GB, free: 2.43 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002594/0.6791, allocations: 75.38 kB / 1.543 GB, free: 2.355 MB / 1.232 GB Notification: Performance of SimCode: time 7.22e-07/0.6791, allocations: 0 / 1.543 GB, free: 2.355 MB / 1.232 GB Notification: Performance of Templates: time 0.04119/0.7203, allocations: 25.75 MB / 1.568 GB, free: 8.699 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: 15.27630709297955]