Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001516/0.001516, allocations: 110.2 kB / 19.69 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.001824/0.001824, allocations: 215.7 kB / 23.01 MB, free: 4.566 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.356/1.356, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.957/2.957, allocations: 0.505 GB / 0.8108 GB, free: 22.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.001897/0.001897, allocations: 66.66 kB / 1.178 GB, free: 16.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3126/0.3145, allocations: 180.2 MB / 1.354 GB, free: 7.953 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2047/0.5192, allocations: 194.5 MB / 1.544 GB, free: 4.738 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.01003/0.5292, allocations: 5.766 MB / 1.55 GB, free: 14.96 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001642/0.5309, allocations: 59.44 kB / 1.55 GB, free: 14.91 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.5326, allocations: 0.5981 MB / 1.55 GB, free: 14.3 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.004373/0.5369, allocations: 1.941 MB / 1.552 GB, free: 12.36 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.002841/0.5398, allocations: 1.223 MB / 1.553 GB, free: 11.14 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.003957/0.5437, allocations: 3.044 MB / 1.556 GB, free: 8.086 MB / 1.248 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001205/0.5449, allocations: 0.8204 MB / 1.557 GB, free: 7.246 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002232/0.5472, allocations: 1.316 MB / 1.558 GB, free: 5.926 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001932/0.5491, allocations: 1.027 MB / 1.559 GB, free: 4.902 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.5493, allocations: 124 kB / 1.56 GB, free: 4.781 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002776/0.552, allocations: 1.536 MB / 1.561 GB, free: 3.242 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.0006001/0.5526, allocations: 0.5882 MB / 1.562 GB, free: 2.652 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.0007855/0.5534, allocations: 0.7272 MB / 1.562 GB, free: 1.922 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.003094/0.5565, allocations: 2.348 MB / 1.565 GB, free: 15.57 MB / 1.264 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.5565, allocations: 0 / 1.565 GB, free: 15.57 MB / 1.264 GB Notification: Performance of FrontEnd: time 1.623e-06/0.5565, allocations: 3.938 kB / 1.565 GB, free: 15.56 MB / 1.264 GB Notification: Performance of Transformations before backend: time 2.08e-05/0.5565, allocations: 0 / 1.565 GB, free: 15.56 MB / 1.264 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.002594/0.5591, allocations: 1.59 MB / 1.566 GB, free: 13.93 MB / 1.264 GB Notification: Performance of prepare preOptimizeDAE: time 3.398e-05/0.5592, allocations: 8.031 kB / 1.566 GB, free: 13.93 MB / 1.264 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001892/0.5611, allocations: 338.9 kB / 1.567 GB, free: 13.59 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001548/0.5626, allocations: 0.8421 MB / 1.567 GB, free: 12.72 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.5627, allocations: 74 kB / 1.567 GB, free: 12.65 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.5628, allocations: 104 kB / 1.568 GB, free: 12.55 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001776/0.5646, allocations: 1.081 MB / 1.569 GB, free: 11.46 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.5646, allocations: 3.953 kB / 1.569 GB, free: 11.46 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/0.5647, allocations: 40 kB / 1.569 GB, free: 11.42 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-05/0.5648, allocations: 42 kB / 1.569 GB, free: 11.38 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001609/0.5664, allocations: 0.9876 MB / 1.57 GB, free: 10.39 MB / 1.264 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.006138/0.5725, allocations: 4.329 MB / 1.574 GB, free: 5.734 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008739/0.5734, allocations: 0.5597 MB / 1.574 GB, free: 5.168 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004949/0.5739, allocations: 322.5 kB / 1.575 GB, free: 4.848 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001543/0.574, allocations: 36.41 kB / 1.575 GB, free: 4.812 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.919e-05/0.5741, allocations: 39 kB / 1.575 GB, free: 4.762 MB / 1.264 GB Notification: Performance of pre-optimization done (n=53): time 2.214e-06/0.5741, allocations: 0 / 1.575 GB, free: 4.762 MB / 1.264 GB Notification: Performance of matching and sorting (n=55): time 0.003749/0.5778, allocations: 1.912 MB / 1.577 GB, free: 2.809 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.5779, allocations: 59.84 kB / 1.577 GB, free: 2.738 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00106/0.5789, allocations: 0.8881 MB / 1.578 GB, free: 1.84 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 5.672e-05/0.579, allocations: 41.69 kB / 1.578 GB, free: 1.793 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/0.5794, allocations: 0.5235 MB / 1.578 GB, free: 1.262 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001793/0.5796, allocations: 198.3 kB / 1.578 GB, free: 1.066 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.5798, allocations: 138.6 kB / 1.578 GB, free: 0.9219 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.5799, allocations: 330 kB / 1.579 GB, free: 0.5938 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004736/0.5804, allocations: 289.8 kB / 1.579 GB, free: 320 kB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005984/0.581, allocations: 433 kB / 1.579 GB, free: 15.84 MB / 1.279 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.003817/0.5848, allocations: 1.669 MB / 1.581 GB, free: 14.11 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.5848, allocations: 0 / 1.581 GB, free: 14.11 MB / 1.279 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001535/0.5863, allocations: 0.9284 MB / 1.582 GB, free: 13.17 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.5864, allocations: 8 kB / 1.582 GB, free: 13.16 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.5864, allocations: 8 kB / 1.582 GB, free: 13.15 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002126/0.5866, allocations: 102.9 kB / 1.582 GB, free: 13.04 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007086/0.5873, allocations: 167.7 kB / 1.582 GB, free: 12.88 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.591, allocations: 4.33 MB / 1.586 GB, free: 8.207 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008256/0.5918, allocations: 27.92 kB / 1.587 GB, free: 8.18 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.005e-05/0.5919, allocations: 28 kB / 1.587 GB, free: 8.152 MB / 1.279 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.0005493/0.5925, allocations: 353.4 kB / 1.587 GB, free: 7.797 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001647/0.5926, allocations: 111.4 kB / 1.587 GB, free: 7.688 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.5928, allocations: 105.2 kB / 1.587 GB, free: 7.578 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.384e-06/0.5928, allocations: 12 kB / 1.587 GB, free: 7.566 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.5928, allocations: 0 / 1.587 GB, free: 7.566 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/0.5939, allocations: 0.7599 MB / 1.588 GB, free: 6.75 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003149/0.5971, allocations: 1.96 MB / 1.59 GB, free: 4.695 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.5971, allocations: 4 kB / 1.59 GB, free: 4.691 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006414/0.5977, allocations: 143.8 kB / 1.59 GB, free: 4.551 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-05/0.5978, allocations: 41.23 kB / 1.59 GB, free: 4.508 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.027e-05/0.5978, allocations: 20 kB / 1.59 GB, free: 4.488 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001277/0.5991, allocations: 1.503 MB / 1.591 GB, free: 2.871 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-06/0.5991, allocations: 7.938 kB / 1.591 GB, free: 2.863 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001749/0.6009, allocations: 1.211 MB / 1.593 GB, free: 1.59 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004622/0.6013, allocations: 187.2 kB / 1.593 GB, free: 1.406 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001158/0.6015, allocations: 19.98 kB / 1.593 GB, free: 1.387 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006625/0.6021, allocations: 35.88 kB / 1.593 GB, free: 1.352 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/0.6022, allocations: 51.8 kB / 1.593 GB, free: 1.301 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.6023, allocations: 31.98 kB / 1.593 GB, free: 1.27 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.0007919/0.6031, allocations: 0.6122 MB / 1.594 GB, free: 0.6641 MB / 1.279 GB Notification: Performance of sort global known variables: time 7e-08/0.6031, allocations: 0 / 1.594 GB, free: 0.6641 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.0009226/0.604, allocations: 308 kB / 1.594 GB, free: 372 kB / 1.279 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.0003239/0.6043, allocations: 171.1 kB / 1.594 GB, free: 192 kB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0015/0.6058, allocations: 0.9798 MB / 1.595 GB, free: 15.17 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.6058, allocations: 8.312 kB / 1.595 GB, free: 15.16 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.0006002/0.6064, allocations: 426.2 kB / 1.595 GB, free: 14.73 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00255/0.609, allocations: 0.654 MB / 1.596 GB, free: 14.1 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003425/0.6124, allocations: 2.213 MB / 1.598 GB, free: 11.81 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.6132, allocations: 1.167 MB / 1.599 GB, free: 10.61 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002429/0.6135, allocations: 79.44 kB / 1.599 GB, free: 10.54 MB / 1.295 GB Notification: Performance of SimCode: time 1.202e-06/0.6135, allocations: 3.938 kB / 1.599 GB, free: 10.54 MB / 1.295 GB Notification: Performance of Templates: time 0.609/1.223, allocations: 27.13 MB / 1.626 GB, free: 248 MB / 1.295 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & ./Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.530858484999044]