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.001336/0.001336, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001577/0.001577, allocations: 212.4 kB / 23 MB, free: 4.957 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.541/1.541, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.438/3.438, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.002083/0.002083, allocations: 65.52 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4532/0.4553, allocations: 176.1 MB / 1.327 GB, free: 1 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.24/0.6953, allocations: 168.5 MB / 1.492 GB, free: 7.926 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01107/0.7064, allocations: 5.43 MB / 1.497 GB, free: 2.484 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001621/0.708, allocations: 59.44 kB / 1.497 GB, free: 2.426 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.7099, allocations: 0.5435 MB / 1.497 GB, free: 1.879 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.006199/0.7161, allocations: 1.929 MB / 1.499 GB, free: 15.94 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.72, allocations: 1.209 MB / 1.501 GB, free: 14.74 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005092/0.725, allocations: 3.025 MB / 1.504 GB, free: 11.71 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001749/0.7268, allocations: 0.8244 MB / 1.504 GB, free: 10.86 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003314/0.7301, allocations: 1.331 MB / 1.506 GB, free: 9.527 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003085/0.7332, allocations: 1.032 MB / 1.507 GB, free: 8.496 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0004232/0.7336, allocations: 120 kB / 1.507 GB, free: 8.379 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004018/0.7376, allocations: 1.204 MB / 1.508 GB, free: 7.172 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0009107/0.7385, allocations: 0.5882 MB / 1.508 GB, free: 6.582 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.7397, allocations: 0.603 MB / 1.509 GB, free: 5.977 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004605/0.7443, allocations: 2.316 MB / 1.511 GB, free: 3.652 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.7443, allocations: 0 / 1.511 GB, free: 3.652 MB / 1.201 GB Notification: Performance of FrontEnd: time 3.046e-06/0.7443, allocations: 0 / 1.511 GB, free: 3.652 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.476e-05/0.7444, allocations: 0 / 1.511 GB, free: 3.652 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.003396/0.7478, allocations: 1.586 MB / 1.513 GB, free: 2.027 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.7478, allocations: 8.031 kB / 1.513 GB, free: 2.02 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/0.7501, allocations: 334.9 kB / 1.513 GB, free: 1.691 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002025/0.7521, allocations: 0.8423 MB / 1.514 GB, free: 0.8203 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.396e-05/0.7522, allocations: 74 kB / 1.514 GB, free: 0.75 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001825/0.7524, allocations: 95.94 kB / 1.514 GB, free: 0.6562 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002592/0.7549, allocations: 1.54 MB / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.755, allocations: 0 / 1.516 GB, free: 15 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001166/0.7551, allocations: 44 kB / 1.516 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.63e-05/0.7552, allocations: 37.98 kB / 1.516 GB, free: 14.91 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.7571, allocations: 0.9876 MB / 1.517 GB, free: 13.93 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.00651/0.7636, allocations: 2.73 MB / 1.519 GB, free: 11.15 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001017/0.7647, allocations: 0.5552 MB / 1.52 GB, free: 10.59 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/0.7652, allocations: 328 kB / 1.52 GB, free: 10.26 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001763/0.7654, allocations: 24.41 kB / 1.52 GB, free: 10.23 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.724e-05/0.7655, allocations: 43 kB / 1.52 GB, free: 10.18 MB / 1.217 GB Notification: Performance of pre-optimization done (n=53): time 5.38e-06/0.7655, allocations: 11.98 kB / 1.52 GB, free: 10.17 MB / 1.217 GB Notification: Performance of matching and sorting (n=55): time 0.004636/0.7701, allocations: 1.888 MB / 1.522 GB, free: 8.246 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.838e-05/0.7702, allocations: 59.91 kB / 1.522 GB, free: 8.176 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009886/0.7711, allocations: 0.6957 MB / 1.523 GB, free: 7.469 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 7.186e-05/0.7712, allocations: 37.7 kB / 1.523 GB, free: 7.426 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004818/0.7717, allocations: 0.539 MB / 1.523 GB, free: 6.879 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002193/0.7719, allocations: 206.2 kB / 1.524 GB, free: 6.676 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002474/0.7722, allocations: 134.6 kB / 1.524 GB, free: 6.539 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0002268/0.7724, allocations: 386.8 kB / 1.524 GB, free: 6.152 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005386/0.7729, allocations: 289.8 kB / 1.524 GB, free: 5.867 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007111/0.7736, allocations: 484.5 kB / 1.525 GB, free: 5.332 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.00442/0.7781, allocations: 1.673 MB / 1.527 GB, free: 3.605 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.7781, allocations: 4 kB / 1.527 GB, free: 3.602 MB / 1.217 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001815/0.7799, allocations: 0.9089 MB / 1.527 GB, free: 2.676 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.573e-05/0.7799, allocations: 8 kB / 1.527 GB, free: 2.668 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.7799, allocations: 4.5 kB / 1.527 GB, free: 2.664 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002348/0.7802, allocations: 98.52 kB / 1.528 GB, free: 2.559 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/0.781, allocations: 171.7 kB / 1.528 GB, free: 2.391 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004273/0.7852, allocations: 4.246 MB / 1.532 GB, free: 13.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009863/0.7862, allocations: 23.98 kB / 1.532 GB, free: 13.82 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.322e-05/0.7863, allocations: 28 kB / 1.532 GB, free: 13.79 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.0006617/0.787, allocations: 347.9 kB / 1.532 GB, free: 13.44 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/0.7871, allocations: 95.64 kB / 1.532 GB, free: 13.35 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000206/0.7873, allocations: 95.72 kB / 1.532 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.7873, allocations: 4 kB / 1.532 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.7874, allocations: 0 / 1.532 GB, free: 13.25 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001262/0.7886, allocations: 0.7638 MB / 1.533 GB, free: 12.43 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003455/0.7921, allocations: 1.7 MB / 1.535 GB, free: 10.65 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.7921, allocations: 4 kB / 1.535 GB, free: 10.65 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007274/0.7928, allocations: 152.2 kB / 1.535 GB, free: 10.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/0.7929, allocations: 44.78 kB / 1.535 GB, free: 10.45 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/0.793, allocations: 19.98 kB / 1.535 GB, free: 10.43 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.7946, allocations: 1.475 MB / 1.536 GB, free: 8.852 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.7946, allocations: 4 kB / 1.536 GB, free: 8.848 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.7966, allocations: 1.199 MB / 1.538 GB, free: 7.59 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005107/0.7971, allocations: 163.4 kB / 1.538 GB, free: 7.43 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.7973, allocations: 19.98 kB / 1.538 GB, free: 7.41 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006863/0.7979, allocations: 29.55 kB / 1.538 GB, free: 7.383 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/0.7981, allocations: 51.86 kB / 1.538 GB, free: 7.332 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-05/0.7982, allocations: 27.98 kB / 1.538 GB, free: 7.305 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0007073/0.7989, allocations: 483 kB / 1.538 GB, free: 6.836 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7989, allocations: 3.938 kB / 1.538 GB, free: 6.832 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.001154/0.8, allocations: 307.9 kB / 1.539 GB, free: 6.531 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.0003969/0.8004, allocations: 183.9 kB / 1.539 GB, free: 6.348 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.001704/0.8021, allocations: 0.9754 MB / 1.54 GB, free: 5.336 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.116e-06/0.8021, allocations: 7.938 kB / 1.54 GB, free: 5.328 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0007098/0.8028, allocations: 443.9 kB / 1.54 GB, free: 4.883 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/0.8052, allocations: 0.5184 MB / 1.541 GB, free: 4.375 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.8092, allocations: 2.119 MB / 1.543 GB, free: 2.191 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007499/0.8099, allocations: 0.5737 MB / 1.543 GB, free: 1.586 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.000822/0.8107, allocations: 226.9 kB / 1.544 GB, free: 1.359 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000212/0.8109, allocations: 67.44 kB / 1.544 GB, free: 1.293 MB / 1.232 GB Notification: Performance of SimCode: time 1.092e-06/0.8109, allocations: 0 / 1.544 GB, free: 1.293 MB / 1.232 GB Notification: Performance of Templates: time 0.03962/0.8506, allocations: 21.69 MB / 1.565 GB, free: 12.07 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 -s cvode -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] Reference file matches [Calling sys.exit(0), Time elapsed: 10.682372161987587]