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.001281/0.001281, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.001462/0.001462, allocations: 158.1 kB / 23.01 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.484/1.484, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.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.9/2.9, allocations: 394.2 MB / 0.6386 GB, free: 11.95 MB / 0.6075 GB " [Timeout remaining time 176] 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.00243/0.00243, allocations: 71.88 kB / 1.009 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9328/0.9352, allocations: 181.8 MB / 1.187 GB, free: 16.16 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2385/1.174, allocations: 168.5 MB / 1.351 GB, free: 13.32 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01045/1.184, allocations: 5.423 MB / 1.356 GB, free: 7.895 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001324/1.185, allocations: 59.5 kB / 1.356 GB, free: 7.836 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.001618/1.187, allocations: 0.5436 MB / 1.357 GB, free: 7.289 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.005404/1.192, allocations: 1.917 MB / 1.359 GB, free: 5.363 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.003446/1.196, allocations: 1.205 MB / 1.36 GB, free: 4.164 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.005115/1.201, allocations: 3.002 MB / 1.363 GB, free: 1.156 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001641/1.203, allocations: 0.8126 MB / 1.364 GB, free: 332 kB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003319/1.206, allocations: 1.331 MB / 1.365 GB, free: 14.99 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00303/1.209, allocations: 0.9933 MB / 1.366 GB, free: 14 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0003673/1.209, allocations: 120 kB / 1.366 GB, free: 13.88 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003525/1.213, allocations: 1.192 MB / 1.367 GB, free: 12.68 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008316/1.214, allocations: 0.5843 MB / 1.368 GB, free: 12.1 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/1.215, allocations: 0.6069 MB / 1.369 GB, free: 11.49 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.004172/1.219, allocations: 2.309 MB / 1.371 GB, free: 9.172 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 9.758e-06/1.219, allocations: 8 kB / 1.371 GB, free: 9.164 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.244e-06/1.219, allocations: 0 / 1.371 GB, free: 9.164 MB / 1.217 GB Notification: Performance of Transformations before backend: time 3.147e-05/1.219, allocations: 3.938 kB / 1.371 GB, free: 9.16 MB / 1.217 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.002937/1.222, allocations: 1.586 MB / 1.372 GB, free: 7.535 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/1.222, allocations: 8.031 kB / 1.372 GB, free: 7.527 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002163/1.224, allocations: 342.9 kB / 1.373 GB, free: 7.191 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/1.226, allocations: 0.8383 MB / 1.373 GB, free: 6.324 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.076e-05/1.226, allocations: 74 kB / 1.374 GB, free: 6.254 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/1.226, allocations: 96 kB / 1.374 GB, free: 6.16 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002326/1.229, allocations: 1.54 MB / 1.375 GB, free: 4.504 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.951e-05/1.229, allocations: 4 kB / 1.375 GB, free: 4.5 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001059/1.229, allocations: 44 kB / 1.375 GB, free: 4.457 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.93e-05/1.229, allocations: 45.92 kB / 1.375 GB, free: 4.41 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00185/1.231, allocations: 0.9837 MB / 1.376 GB, free: 3.426 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.006119/1.237, allocations: 2.723 MB / 1.379 GB, free: 0.6523 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009733/1.238, allocations: 0.567 MB / 1.379 GB, free: 80 kB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005725/1.238, allocations: 318.8 kB / 1.38 GB, free: 15.76 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/1.239, allocations: 36.47 kB / 1.38 GB, free: 15.72 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/1.239, allocations: 43 kB / 1.38 GB, free: 15.67 MB / 1.232 GB Notification: Performance of pre-optimization done (n=53): time 3.036e-06/1.239, allocations: 0 / 1.38 GB, free: 15.67 MB / 1.232 GB Notification: Performance of matching and sorting (n=55): time 0.004407/1.243, allocations: 1.89 MB / 1.382 GB, free: 13.73 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.705e-05/1.243, allocations: 55.91 kB / 1.382 GB, free: 13.67 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009802/1.244, allocations: 0.6918 MB / 1.382 GB, free: 12.97 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 7.379e-05/1.244, allocations: 41.7 kB / 1.382 GB, free: 12.92 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.00047/1.245, allocations: 0.5505 MB / 1.383 GB, free: 12.37 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002134/1.245, allocations: 202.3 kB / 1.383 GB, free: 12.17 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002227/1.245, allocations: 130.6 kB / 1.383 GB, free: 12.04 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0002184/1.245, allocations: 386.8 kB / 1.384 GB, free: 11.65 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005191/1.246, allocations: 285.8 kB / 1.384 GB, free: 11.37 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006736/1.246, allocations: 484.4 kB / 1.384 GB, free: 10.84 MB / 1.232 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.004238/1.251, allocations: 1.674 MB / 1.386 GB, free: 9.113 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.309e-06/1.251, allocations: 0 / 1.386 GB, free: 9.113 MB / 1.232 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.0018/1.252, allocations: 0.9133 MB / 1.387 GB, free: 8.184 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/1.252, allocations: 7.938 kB / 1.387 GB, free: 8.176 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.252, allocations: 4 kB / 1.387 GB, free: 8.172 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002286/1.253, allocations: 98.52 kB / 1.387 GB, free: 8.066 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000759/1.253, allocations: 163.7 kB / 1.387 GB, free: 7.906 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004153/1.258, allocations: 4.258 MB / 1.391 GB, free: 3.34 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/1.259, allocations: 35.88 kB / 1.391 GB, free: 3.305 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/1.259, allocations: 24.38 kB / 1.391 GB, free: 3.281 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.0006555/1.259, allocations: 345.5 kB / 1.392 GB, free: 2.934 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/1.26, allocations: 95.36 kB / 1.392 GB, free: 2.84 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/1.26, allocations: 99.72 kB / 1.392 GB, free: 2.742 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.26, allocations: 8 kB / 1.392 GB, free: 2.734 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.26, allocations: 0 / 1.392 GB, free: 2.734 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/1.261, allocations: 0.756 MB / 1.393 GB, free: 1.93 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003278/1.264, allocations: 1.705 MB / 1.394 GB, free: 144 kB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.198e-06/1.264, allocations: 4.031 kB / 1.394 GB, free: 140 kB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/1.265, allocations: 147.9 kB / 1.394 GB, free: 15.99 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001093/1.265, allocations: 40.77 kB / 1.394 GB, free: 15.95 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.501e-05/1.265, allocations: 19.98 kB / 1.394 GB, free: 15.93 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001455/1.267, allocations: 1.48 MB / 1.396 GB, free: 14.34 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.84e-06/1.267, allocations: 4.062 kB / 1.396 GB, free: 14.34 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/1.269, allocations: 1.199 MB / 1.397 GB, free: 13.08 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005208/1.269, allocations: 159.4 kB / 1.397 GB, free: 12.93 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.935e-05/1.269, allocations: 19.98 kB / 1.397 GB, free: 12.91 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007042/1.27, allocations: 32.16 kB / 1.397 GB, free: 12.88 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001371/1.27, allocations: 55.8 kB / 1.397 GB, free: 12.82 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-05/1.27, allocations: 35.98 kB / 1.397 GB, free: 12.79 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.0006888/1.271, allocations: 479 kB / 1.398 GB, free: 12.32 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.01e-07/1.271, allocations: 0 / 1.398 GB, free: 12.32 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.001059/1.272, allocations: 300 kB / 1.398 GB, free: 12.03 MB / 1.248 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.0003759/1.272, allocations: 171 kB / 1.398 GB, free: 11.86 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.001703/1.274, allocations: 0.9915 MB / 1.399 GB, free: 10.83 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.274, allocations: 0 / 1.399 GB, free: 10.83 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.000684/1.275, allocations: 438.3 kB / 1.4 GB, free: 10.39 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/1.277, allocations: 0.5228 MB / 1.4 GB, free: 9.883 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/1.281, allocations: 2.105 MB / 1.402 GB, free: 7.711 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006863/1.281, allocations: 0.5776 MB / 1.403 GB, free: 7.102 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0008506/1.282, allocations: 222.9 kB / 1.403 GB, free: 6.879 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002059/1.282, allocations: 72.44 kB / 1.403 GB, free: 6.809 MB / 1.248 GB Notification: Performance of SimCode: time 7.61e-07/1.282, allocations: 4 kB / 1.403 GB, free: 6.805 MB / 1.248 GB Notification: Performance of Templates: time 0.03677/1.319, allocations: 19.78 MB / 1.422 GB, free: 3.48 MB / 1.264 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 -s ida -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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.869270493043587]