Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001686/0.001686, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002192/0.002192, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.004/3.004, allocations: 476.8 MB / 0.7707 GB, free: 4.297 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="me",version="2.0",platforms={"static"}) [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.002118/0.002118, allocations: 67.61 kB / 1.117 GB, free: 39.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.346, allocations: 170 MB / 1.283 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.239/0.5851, allocations: 194.4 MB / 1.473 GB, free: 8.441 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01149/0.5966, allocations: 5.742 MB / 1.479 GB, free: 2.691 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00195/0.5985, allocations: 55.56 kB / 1.479 GB, free: 2.637 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.002116/0.6006, allocations: 0.602 MB / 1.48 GB, free: 2.031 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005711/0.6064, allocations: 1.937 MB / 1.481 GB, free: 88 kB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003629/0.61, allocations: 1.223 MB / 1.483 GB, free: 14.87 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.004857/0.6148, allocations: 3.038 MB / 1.486 GB, free: 11.82 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001771/0.6166, allocations: 0.8243 MB / 1.486 GB, free: 10.98 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002637/0.6192, allocations: 1.129 MB / 1.487 GB, free: 9.848 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002971/0.6222, allocations: 1.035 MB / 1.488 GB, free: 8.816 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0006386/0.6229, allocations: 124 kB / 1.489 GB, free: 8.695 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004984/0.6278, allocations: 1.559 MB / 1.49 GB, free: 7.133 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.001447/0.6293, allocations: 0.5921 MB / 1.491 GB, free: 6.539 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.6319, allocations: 0.7195 MB / 1.491 GB, free: 5.816 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.005816/0.6377, allocations: 2.344 MB / 1.494 GB, free: 3.465 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.6377, allocations: 4 kB / 1.494 GB, free: 3.461 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6377, allocations: 0 / 1.494 GB, free: 3.461 MB / 1.186 GB Notification: Performance of Transformations before backend: time 9.056e-05/0.6378, allocations: 0 / 1.494 GB, free: 3.461 MB / 1.186 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.003927/0.6417, allocations: 1.586 MB / 1.495 GB, free: 1.836 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/0.6418, allocations: 12.03 kB / 1.495 GB, free: 1.824 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003505/0.6421, allocations: 160.1 kB / 1.495 GB, free: 1.66 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002337/0.6445, allocations: 330.9 kB / 1.496 GB, free: 1.336 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.6465, allocations: 0.8422 MB / 1.497 GB, free: 476 kB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.296e-05/0.6465, allocations: 74 kB / 1.497 GB, free: 404 kB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.6468, allocations: 104 kB / 1.497 GB, free: 300 kB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/0.649, allocations: 1.085 MB / 1.498 GB, free: 15.2 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/0.6491, allocations: 0 / 1.498 GB, free: 15.2 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001172/0.6492, allocations: 40 kB / 1.498 GB, free: 15.16 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.045e-05/0.6492, allocations: 41.98 kB / 1.498 GB, free: 15.12 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001924/0.6512, allocations: 0.9915 MB / 1.499 GB, free: 14.13 MB / 1.201 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.007967/0.6591, allocations: 4.16 MB / 1.503 GB, free: 9.676 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.6602, allocations: 0.5707 MB / 1.503 GB, free: 9.098 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005703/0.6608, allocations: 318.5 kB / 1.504 GB, free: 8.781 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000196/0.6609, allocations: 36.41 kB / 1.504 GB, free: 8.746 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.531e-05/0.661, allocations: 42.94 kB / 1.504 GB, free: 8.695 MB / 1.201 GB Notification: Performance of pre-optimization done (n=53): time 2.464e-06/0.661, allocations: 0 / 1.504 GB, free: 8.695 MB / 1.201 GB Notification: Performance of matching and sorting (n=55): time 0.004787/0.6658, allocations: 1.915 MB / 1.506 GB, free: 6.73 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.6658, allocations: 59.84 kB / 1.506 GB, free: 6.66 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00151/0.6674, allocations: 0.8804 MB / 1.507 GB, free: 5.773 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-05/0.6674, allocations: 41.7 kB / 1.507 GB, free: 5.727 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005553/0.668, allocations: 0.5274 MB / 1.507 GB, free: 5.191 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002623/0.6683, allocations: 202.2 kB / 1.507 GB, free: 4.992 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002589/0.6685, allocations: 130.6 kB / 1.507 GB, free: 4.855 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.6687, allocations: 334 kB / 1.508 GB, free: 4.523 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/0.6693, allocations: 289.8 kB / 1.508 GB, free: 4.242 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007039/0.67, allocations: 441 kB / 1.509 GB, free: 3.762 MB / 1.201 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.004301/0.6743, allocations: 1.677 MB / 1.51 GB, free: 2.035 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.6743, allocations: 0 / 1.51 GB, free: 2.035 MB / 1.201 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001725/0.676, allocations: 0.9284 MB / 1.511 GB, free: 1.09 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6761, allocations: 4 kB / 1.511 GB, free: 1.086 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/0.6761, allocations: 7.938 kB / 1.511 GB, free: 1.078 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002353/0.6763, allocations: 103 kB / 1.511 GB, free: 0.9688 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007409/0.677, allocations: 163.7 kB / 1.511 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004278/0.6813, allocations: 4.318 MB / 1.516 GB, free: 12.15 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009708/0.6823, allocations: 31.94 kB / 1.516 GB, free: 12.12 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.448e-05/0.6824, allocations: 35.98 kB / 1.516 GB, free: 12.08 MB / 1.217 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.0006621/0.6831, allocations: 341.5 kB / 1.516 GB, free: 11.74 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/0.6833, allocations: 107.5 kB / 1.516 GB, free: 11.63 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000281/0.6836, allocations: 109.2 kB / 1.516 GB, free: 11.52 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.6836, allocations: 8 kB / 1.516 GB, free: 11.51 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.6836, allocations: 0 / 1.516 GB, free: 11.51 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001281/0.6849, allocations: 0.7599 MB / 1.517 GB, free: 10.7 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003772/0.6887, allocations: 1.964 MB / 1.519 GB, free: 8.645 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.6887, allocations: 4 kB / 1.519 GB, free: 8.641 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007145/0.6894, allocations: 143.8 kB / 1.519 GB, free: 8.5 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001124/0.6895, allocations: 41.23 kB / 1.519 GB, free: 8.457 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.837e-05/0.6895, allocations: 16 kB / 1.519 GB, free: 8.441 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001493/0.691, allocations: 1.506 MB / 1.52 GB, free: 6.82 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.909e-06/0.691, allocations: 4 kB / 1.52 GB, free: 6.816 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00202/0.6931, allocations: 1.207 MB / 1.522 GB, free: 5.547 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006151/0.6937, allocations: 187.2 kB / 1.522 GB, free: 5.363 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002381/0.6939, allocations: 19.98 kB / 1.522 GB, free: 5.344 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008525/0.6948, allocations: 32.58 kB / 1.522 GB, free: 5.312 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.6949, allocations: 51.64 kB / 1.522 GB, free: 5.262 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.52e-05/0.695, allocations: 31.98 kB / 1.522 GB, free: 5.23 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.001104/0.6961, allocations: 0.6122 MB / 1.523 GB, free: 4.625 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.6961, allocations: 0 / 1.523 GB, free: 4.625 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.001233/0.6973, allocations: 304 kB / 1.523 GB, free: 4.328 MB / 1.217 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.002737/0.7001, allocations: 1.846 MB / 1.525 GB, free: 2.418 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.001799/0.7019, allocations: 0.984 MB / 1.526 GB, free: 1.395 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/0.7019, allocations: 4.125 kB / 1.526 GB, free: 1.391 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0007856/0.7027, allocations: 438 kB / 1.526 GB, free: 0.9492 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003188/0.7059, allocations: 0.6535 MB / 1.527 GB, free: 316 kB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01448/0.7203, allocations: 7.965 MB / 1.534 GB, free: 8.023 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/0.7215, allocations: 1.17 MB / 1.536 GB, free: 6.824 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001217/0.7227, allocations: 248.4 kB / 1.536 GB, free: 6.578 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007466/0.7235, allocations: 387.3 kB / 1.536 GB, free: 6.199 MB / 1.232 GB Notification: Performance of SimCode: time 8.12e-07/0.7235, allocations: 3.938 kB / 1.536 GB, free: 6.195 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08851/0.812, allocations: 31.2 MB / 1.567 GB, free: 7.473 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/15.7, allocations: 4.062 kB / 1.567 GB, free: 7.469 MB / 1.264 GB " [Timeout remaining time 284] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 22.83671526913531]