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.001323/0.001323, allocations: 114.1 kB / 17.16 MB, free: 5.895 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.001428/0.001428, allocations: 215 kB / 20.13 MB, free: 2.949 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.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.11 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 2.894/2.894, allocations: 476.7 MB / 0.7678 GB, free: 9.379 MB / 0.6075 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstanceReverseFlow",fmuType="cs",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.002054/0.002054, allocations: 69.94 kB / 1.113 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9664/0.9685, allocations: 169.9 MB / 1.279 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2714/1.24, allocations: 194.1 MB / 1.468 GB, free: 9.711 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01128/1.251, allocations: 5.732 MB / 1.474 GB, free: 3.969 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/1.253, allocations: 55.5 kB / 1.474 GB, free: 3.914 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001911/1.255, allocations: 0.602 MB / 1.475 GB, free: 3.309 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005645/1.261, allocations: 1.898 MB / 1.477 GB, free: 1.402 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003532/1.264, allocations: 1.191 MB / 1.478 GB, free: 224 kB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.005297/1.269, allocations: 2.955 MB / 1.481 GB, free: 13.25 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/1.271, allocations: 0.9408 MB / 1.482 GB, free: 12.29 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002703/1.274, allocations: 1.117 MB / 1.483 GB, free: 11.17 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00255/1.276, allocations: 1.031 MB / 1.484 GB, free: 10.14 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004151/1.277, allocations: 127.9 kB / 1.484 GB, free: 10.02 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003909/1.281, allocations: 1.535 MB / 1.485 GB, free: 8.48 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009165/1.282, allocations: 0.5843 MB / 1.486 GB, free: 7.895 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001236/1.283, allocations: 0.7234 MB / 1.487 GB, free: 7.168 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004413/1.287, allocations: 2.344 MB / 1.489 GB, free: 4.816 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 9.208e-06/1.287, allocations: 4 kB / 1.489 GB, free: 4.812 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.375e-06/1.287, allocations: 0 / 1.489 GB, free: 4.812 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.613e-05/1.287, allocations: 0 / 1.489 GB, free: 4.812 MB / 1.17 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.003387/1.291, allocations: 1.661 MB / 1.49 GB, free: 3.094 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.305e-05/1.291, allocations: 12.03 kB / 1.49 GB, free: 3.082 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.369e-05/1.291, allocations: 26 kB / 1.491 GB, free: 3.059 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002114/1.291, allocations: 160.1 kB / 1.491 GB, free: 2.895 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002171/1.293, allocations: 330.9 kB / 1.491 GB, free: 2.57 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/1.295, allocations: 0.926 MB / 1.492 GB, free: 1.602 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.215e-05/1.295, allocations: 70 kB / 1.492 GB, free: 1.531 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/1.295, allocations: 99.94 kB / 1.492 GB, free: 1.434 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002151/1.297, allocations: 1.073 MB / 1.493 GB, free: 360 kB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/1.297, allocations: 4 kB / 1.493 GB, free: 356 kB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/1.298, allocations: 51.97 kB / 1.493 GB, free: 304 kB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-05/1.298, allocations: 45.92 kB / 1.493 GB, free: 260 kB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001875/1.299, allocations: 0.9877 MB / 1.494 GB, free: 15.26 MB / 1.186 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.007032/1.307, allocations: 4.234 MB / 1.498 GB, free: 10.73 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009876/1.307, allocations: 0.5729 MB / 1.499 GB, free: 10.16 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005438/1.308, allocations: 318.5 kB / 1.499 GB, free: 9.84 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002008/1.308, allocations: 101.5 kB / 1.499 GB, free: 9.723 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.378e-05/1.308, allocations: 50.98 kB / 1.499 GB, free: 9.664 MB / 1.186 GB Notification: Performance of pre-optimization done (n=53): time 2.044e-06/1.308, allocations: 3.938 kB / 1.499 GB, free: 9.66 MB / 1.186 GB Notification: Performance of matching and sorting (n=55): time 0.004601/1.313, allocations: 2.214 MB / 1.501 GB, free: 7.328 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.063e-05/1.313, allocations: 59.95 kB / 1.502 GB, free: 7.254 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001224/1.314, allocations: 0.8844 MB / 1.502 GB, free: 6.359 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 6.192e-05/1.314, allocations: 41.7 kB / 1.502 GB, free: 6.312 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/1.315, allocations: 0.5235 MB / 1.503 GB, free: 5.781 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.000233/1.315, allocations: 206.2 kB / 1.503 GB, free: 5.578 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002339/1.315, allocations: 134.6 kB / 1.503 GB, free: 5.441 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.000171/1.315, allocations: 326 kB / 1.504 GB, free: 5.117 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005575/1.316, allocations: 289.8 kB / 1.504 GB, free: 4.836 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006978/1.317, allocations: 436.9 kB / 1.504 GB, free: 4.359 MB / 1.186 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.004375/1.321, allocations: 1.745 MB / 1.506 GB, free: 2.547 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/1.321, allocations: 0 / 1.506 GB, free: 2.547 MB / 1.186 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001764/1.323, allocations: 0.9344 MB / 1.507 GB, free: 1.598 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.323, allocations: 11.94 kB / 1.507 GB, free: 1.586 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/1.323, allocations: 4 kB / 1.507 GB, free: 1.582 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002274/1.323, allocations: 94.52 kB / 1.507 GB, free: 1.48 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007583/1.324, allocations: 167.8 kB / 1.507 GB, free: 1.316 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004471/1.328, allocations: 4.632 MB / 1.512 GB, free: 12.26 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009932/1.329, allocations: 28.14 kB / 1.512 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-05/1.329, allocations: 31.94 kB / 1.512 GB, free: 12.2 MB / 1.201 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.000652/1.33, allocations: 337.6 kB / 1.512 GB, free: 11.86 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/1.33, allocations: 107.3 kB / 1.512 GB, free: 11.76 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/1.33, allocations: 113.2 kB / 1.512 GB, free: 11.65 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/1.33, allocations: 7.984 kB / 1.512 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.33, allocations: 0 / 1.512 GB, free: 11.64 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00127/1.332, allocations: 0.773 MB / 1.513 GB, free: 10.82 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003532/1.335, allocations: 1.985 MB / 1.515 GB, free: 8.723 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-05/1.335, allocations: 4 kB / 1.515 GB, free: 8.719 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007245/1.336, allocations: 139.8 kB / 1.515 GB, free: 8.582 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001221/1.336, allocations: 40.83 kB / 1.515 GB, free: 8.539 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.302e-05/1.336, allocations: 23.88 kB / 1.515 GB, free: 8.516 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/1.338, allocations: 1.606 MB / 1.517 GB, free: 6.77 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/1.338, allocations: 4 kB / 1.517 GB, free: 6.766 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002039/1.34, allocations: 1.216 MB / 1.518 GB, free: 5.496 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004855/1.34, allocations: 264.4 kB / 1.518 GB, free: 5.219 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/1.34, allocations: 12 kB / 1.518 GB, free: 5.207 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007253/1.341, allocations: 36.2 kB / 1.518 GB, free: 5.172 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001228/1.341, allocations: 47.61 kB / 1.518 GB, free: 5.125 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.552e-05/1.341, allocations: 35.98 kB / 1.518 GB, free: 5.09 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.000911/1.342, allocations: 0.6122 MB / 1.519 GB, free: 4.48 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/1.342, allocations: 0 / 1.519 GB, free: 4.48 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.001037/1.343, allocations: 304 kB / 1.519 GB, free: 4.184 MB / 1.201 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.00273/1.346, allocations: 1.838 MB / 1.521 GB, free: 2.281 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001847/1.348, allocations: 0.9791 MB / 1.522 GB, free: 1.262 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 7.374e-06/1.348, allocations: 4 kB / 1.522 GB, free: 1.258 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006895/1.348, allocations: 439.7 kB / 1.522 GB, free: 0.8164 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003055/1.352, allocations: 0.6575 MB / 1.523 GB, free: 176 kB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01276/1.364, allocations: 7.956 MB / 1.531 GB, free: 7.895 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009396/1.365, allocations: 1.166 MB / 1.532 GB, free: 6.699 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001008/1.366, allocations: 248.4 kB / 1.532 GB, free: 6.453 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005814/1.367, allocations: 383.3 kB / 1.533 GB, free: 6.078 MB / 1.217 GB Notification: Performance of SimCode: time 1.313e-06/1.367, allocations: 0 / 1.533 GB, free: 6.078 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1005/1.467, allocations: 30.74 MB / 1.563 GB, free: 7.887 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.44/15.91, allocations: 7.812 kB / 1.563 GB, free: 7.879 MB / 1.248 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.536659197998233]