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.001484/0.001484, allocations: 102.3 kB / 19.7 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.001658/0.001658, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.346/1.346, allocations: 230.6 MB / 256.8 MB, free: 8.035 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.913/2.913, allocations: 0.49 GB / 0.7958 GB, free: 33.39 MB / 0.6231 GB " [Timeout remaining time 177] 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.001862/0.001862, allocations: 70.64 kB / 1.155 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/0.306, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2105/0.5164, allocations: 194.5 MB / 1.517 GB, free: 14.23 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009304/0.5257, allocations: 5.777 MB / 1.523 GB, free: 8.445 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.5269, allocations: 55.56 kB / 1.523 GB, free: 8.391 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.5283, allocations: 0.602 MB / 1.523 GB, free: 7.785 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.004229/0.5325, allocations: 1.933 MB / 1.525 GB, free: 5.844 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.002927/0.5354, allocations: 1.229 MB / 1.526 GB, free: 4.621 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.004067/0.5395, allocations: 3.033 MB / 1.529 GB, free: 1.578 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00127/0.5408, allocations: 0.8243 MB / 1.53 GB, free: 0.7344 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002412/0.5432, allocations: 1.32 MB / 1.531 GB, free: 15.41 MB / 1.233 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002/0.5452, allocations: 1.027 MB / 1.532 GB, free: 14.39 MB / 1.233 GB Notification: Performance of NFPackage.collectConstants: time 0.0001987/0.5454, allocations: 120 kB / 1.533 GB, free: 14.27 MB / 1.233 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002899/0.5483, allocations: 1.547 MB / 1.534 GB, free: 12.72 MB / 1.233 GB Notification: Performance of NFScalarize.scalarize: time 0.0005935/0.5489, allocations: 0.5804 MB / 1.535 GB, free: 12.14 MB / 1.233 GB Notification: Performance of NFVerifyModel.verify: time 0.0008304/0.5497, allocations: 0.7234 MB / 1.535 GB, free: 11.41 MB / 1.233 GB Notification: Performance of NFConvertDAE.convert: time 0.00314/0.5529, allocations: 2.352 MB / 1.538 GB, free: 9.051 MB / 1.233 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5529, allocations: 0 / 1.538 GB, free: 9.051 MB / 1.233 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5529, allocations: 0 / 1.538 GB, free: 9.051 MB / 1.233 GB Notification: Performance of Transformations before backend: time 2.18e-05/0.5529, allocations: 0 / 1.538 GB, free: 9.051 MB / 1.233 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.002673/0.5556, allocations: 1.586 MB / 1.539 GB, free: 7.426 MB / 1.233 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.5556, allocations: 11.97 kB / 1.539 GB, free: 7.414 MB / 1.233 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.5574, allocations: 334.9 kB / 1.54 GB, free: 7.086 MB / 1.233 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001513/0.5589, allocations: 0.8383 MB / 1.54 GB, free: 6.219 MB / 1.233 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.387e-05/0.559, allocations: 77.94 kB / 1.54 GB, free: 6.145 MB / 1.233 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001424/0.5592, allocations: 100 kB / 1.541 GB, free: 6.047 MB / 1.233 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.5609, allocations: 1.085 MB / 1.542 GB, free: 4.953 MB / 1.233 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.561, allocations: 0 / 1.542 GB, free: 4.953 MB / 1.233 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.957e-05/0.5611, allocations: 44 kB / 1.542 GB, free: 4.91 MB / 1.233 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.5611, allocations: 38 kB / 1.542 GB, free: 4.871 MB / 1.233 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001639/0.5627, allocations: 0.9915 MB / 1.543 GB, free: 3.883 MB / 1.233 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.006256/0.569, allocations: 4.321 MB / 1.547 GB, free: 15.23 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009149/0.5699, allocations: 0.5747 MB / 1.547 GB, free: 14.64 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005159/0.5704, allocations: 324.4 kB / 1.548 GB, free: 14.32 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/0.5706, allocations: 32.41 kB / 1.548 GB, free: 14.29 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.704e-05/0.5706, allocations: 47 kB / 1.548 GB, free: 14.23 MB / 1.248 GB Notification: Performance of pre-optimization done (n=53): time 2.365e-06/0.5706, allocations: 0 / 1.548 GB, free: 14.23 MB / 1.248 GB Notification: Performance of matching and sorting (n=55): time 0.003771/0.5744, allocations: 1.908 MB / 1.55 GB, free: 12.29 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.022e-05/0.5744, allocations: 67.84 kB / 1.55 GB, free: 12.21 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.5756, allocations: 0.8804 MB / 1.551 GB, free: 11.32 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 6.144e-05/0.5756, allocations: 37.7 kB / 1.551 GB, free: 11.28 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004344/0.5761, allocations: 0.5274 MB / 1.551 GB, free: 10.74 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.5762, allocations: 202.3 kB / 1.551 GB, free: 10.54 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002111/0.5765, allocations: 138.5 kB / 1.551 GB, free: 10.4 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.5766, allocations: 334 kB / 1.552 GB, free: 10.07 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.5771, allocations: 285.8 kB / 1.552 GB, free: 9.789 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006107/0.5777, allocations: 433 kB / 1.552 GB, free: 9.316 MB / 1.248 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.003807/0.5815, allocations: 1.665 MB / 1.554 GB, free: 7.598 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.5815, allocations: 4 kB / 1.554 GB, free: 7.594 MB / 1.248 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001507/0.583, allocations: 0.9284 MB / 1.555 GB, free: 6.648 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.583, allocations: 8 kB / 1.555 GB, free: 6.641 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.5831, allocations: 4 kB / 1.555 GB, free: 6.637 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002184/0.5833, allocations: 102.9 kB / 1.555 GB, free: 6.527 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006937/0.584, allocations: 163.7 kB / 1.555 GB, free: 6.367 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003654/0.5876, allocations: 4.323 MB / 1.56 GB, free: 1.703 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007825/0.5884, allocations: 31.92 kB / 1.56 GB, free: 1.672 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.149e-05/0.5885, allocations: 24 kB / 1.56 GB, free: 1.648 MB / 1.248 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.0005301/0.589, allocations: 351.5 kB / 1.56 GB, free: 1.297 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.5891, allocations: 107.5 kB / 1.56 GB, free: 1.191 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001949/0.5893, allocations: 113.2 kB / 1.56 GB, free: 1.078 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.5893, allocations: 7.938 kB / 1.56 GB, free: 1.07 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.5893, allocations: 0 / 1.56 GB, free: 1.07 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001083/0.5904, allocations: 0.7599 MB / 1.561 GB, free: 264 kB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.5935, allocations: 1.964 MB / 1.563 GB, free: 14.2 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.094e-05/0.5935, allocations: 7.938 kB / 1.563 GB, free: 14.19 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000641/0.5942, allocations: 147.8 kB / 1.563 GB, free: 14.05 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.649e-05/0.5943, allocations: 41.23 kB / 1.563 GB, free: 14 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.144e-05/0.5943, allocations: 20 kB / 1.563 GB, free: 13.98 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001293/0.5956, allocations: 1.502 MB / 1.564 GB, free: 12.36 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/0.5956, allocations: 4 kB / 1.564 GB, free: 12.36 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.5973, allocations: 1.214 MB / 1.566 GB, free: 11.09 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004746/0.5978, allocations: 179.3 kB / 1.566 GB, free: 10.91 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.5979, allocations: 19.98 kB / 1.566 GB, free: 10.89 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006589/0.5986, allocations: 39.5 kB / 1.566 GB, free: 10.86 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5987, allocations: 47.86 kB / 1.566 GB, free: 10.81 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.611e-05/0.5988, allocations: 35.98 kB / 1.566 GB, free: 10.77 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.0008106/0.5996, allocations: 0.6161 MB / 1.567 GB, free: 10.16 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/0.5996, allocations: 0 / 1.567 GB, free: 10.16 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.0009014/0.6005, allocations: 308 kB / 1.567 GB, free: 9.863 MB / 1.264 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.0003286/0.6008, allocations: 179.3 kB / 1.567 GB, free: 9.68 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.00151/0.6023, allocations: 0.9799 MB / 1.568 GB, free: 8.664 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/0.6023, allocations: 4.25 kB / 1.568 GB, free: 8.66 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.0006352/0.603, allocations: 438.2 kB / 1.568 GB, free: 8.219 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.6055, allocations: 0.6438 MB / 1.569 GB, free: 7.59 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.609, allocations: 2.22 MB / 1.571 GB, free: 5.297 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000844/0.6098, allocations: 1.17 MB / 1.572 GB, free: 4.094 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002626/0.6101, allocations: 79.44 kB / 1.572 GB, free: 4.016 MB / 1.264 GB Notification: Performance of SimCode: time 7.11e-07/0.6101, allocations: 0 / 1.572 GB, free: 4.016 MB / 1.264 GB Notification: Performance of Templates: time 0.03402/0.6441, allocations: 27.13 MB / 1.599 GB, free: 9.008 MB / 1.295 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: 14.598733675986296]