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.00166/0.00166, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001983/0.001983, allocations: 213.9 kB / 23.03 MB, free: 4.926 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.519/1.519, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.888/2.888, allocations: 476.8 MB / 0.7715 GB, free: 3.902 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="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.002057/0.002057, allocations: 60.72 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3697/0.3717, allocations: 170 MB / 1.284 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstanceReverseFlow): time 0.2143/0.586, allocations: 168.3 MB / 1.448 GB, free: 1.777 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01085/0.5969, allocations: 5.407 MB / 1.454 GB, free: 12.36 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.5985, allocations: 55.5 kB / 1.454 GB, free: 12.3 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001692/0.6002, allocations: 0.5475 MB / 1.454 GB, free: 11.75 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005276/0.6054, allocations: 1.924 MB / 1.456 GB, free: 9.824 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003636/0.6091, allocations: 1.203 MB / 1.457 GB, free: 8.625 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004933/0.614, allocations: 3.035 MB / 1.46 GB, free: 5.586 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001406/0.6154, allocations: 0.8127 MB / 1.461 GB, free: 4.754 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002245/0.6177, allocations: 1.129 MB / 1.462 GB, free: 3.621 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002625/0.6203, allocations: 1.035 MB / 1.463 GB, free: 2.59 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002622/0.6206, allocations: 124 kB / 1.463 GB, free: 2.469 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.6236, allocations: 1.223 MB / 1.465 GB, free: 1.242 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.000782/0.6243, allocations: 0.5999 MB / 1.465 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009243/0.6253, allocations: 0.603 MB / 1.466 GB, free: 36 kB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.003929/0.6292, allocations: 2.305 MB / 1.468 GB, free: 13.72 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.6292, allocations: 4 kB / 1.468 GB, free: 13.72 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.485e-06/0.6292, allocations: 0 / 1.468 GB, free: 13.72 MB / 1.17 GB Notification: Performance of Transformations before backend: time 2.935e-05/0.6292, allocations: 0 / 1.468 GB, free: 13.72 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.003053/0.6323, allocations: 1.586 MB / 1.47 GB, free: 12.09 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.6323, allocations: 8.031 kB / 1.47 GB, free: 12.09 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.74e-05/0.6324, allocations: 30 kB / 1.47 GB, free: 12.06 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00022/0.6326, allocations: 160.1 kB / 1.47 GB, free: 11.89 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00214/0.6347, allocations: 334.9 kB / 1.47 GB, free: 11.57 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.6365, allocations: 0.85 MB / 1.471 GB, free: 10.69 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.827e-05/0.6365, allocations: 74 kB / 1.471 GB, free: 10.61 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001635/0.6367, allocations: 95.94 kB / 1.471 GB, free: 10.52 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/0.639, allocations: 1.544 MB / 1.473 GB, free: 8.855 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/0.639, allocations: 0 / 1.473 GB, free: 8.855 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.6392, allocations: 43.98 kB / 1.473 GB, free: 8.812 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.648e-05/0.6392, allocations: 38 kB / 1.473 GB, free: 8.777 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001763/0.641, allocations: 0.9915 MB / 1.474 GB, free: 7.785 MB / 1.17 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.006253/0.6472, allocations: 2.899 MB / 1.476 GB, free: 4.828 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.6482, allocations: 0.5677 MB / 1.477 GB, free: 4.254 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005556/0.6488, allocations: 314.6 kB / 1.477 GB, free: 3.941 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.649, allocations: 28.41 kB / 1.477 GB, free: 3.914 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.935e-05/0.649, allocations: 46.94 kB / 1.477 GB, free: 3.859 MB / 1.17 GB Notification: Performance of pre-optimization done (n=53): time 2.846e-06/0.649, allocations: 0 / 1.477 GB, free: 3.859 MB / 1.17 GB Notification: Performance of matching and sorting (n=55): time 0.004513/0.6536, allocations: 1.919 MB / 1.479 GB, free: 1.891 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.416e-05/0.6536, allocations: 55.91 kB / 1.479 GB, free: 1.824 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/0.6548, allocations: 0.8844 MB / 1.48 GB, free: 0.9297 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 7.779e-05/0.6549, allocations: 37.7 kB / 1.48 GB, free: 0.8867 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.000485/0.6554, allocations: 0.5273 MB / 1.481 GB, free: 360 kB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002488/0.6556, allocations: 202.3 kB / 1.481 GB, free: 156 kB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.6559, allocations: 134.6 kB / 1.481 GB, free: 12 kB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.6561, allocations: 330 kB / 1.481 GB, free: 15.68 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005044/0.6566, allocations: 281.8 kB / 1.482 GB, free: 15.41 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006679/0.6572, allocations: 492.4 kB / 1.482 GB, free: 14.87 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.004184/0.6614, allocations: 1.683 MB / 1.484 GB, free: 13.13 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/0.6614, allocations: 0 / 1.484 GB, free: 13.13 MB / 1.186 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001742/0.6632, allocations: 0.9284 MB / 1.485 GB, free: 12.19 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/0.6632, allocations: 7.938 kB / 1.485 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.6632, allocations: 4 kB / 1.485 GB, free: 12.18 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002328/0.6634, allocations: 95.02 kB / 1.485 GB, free: 12.07 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007464/0.6642, allocations: 167.8 kB / 1.485 GB, free: 11.91 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004063/0.6682, allocations: 4.318 MB / 1.489 GB, free: 7.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001017/0.6693, allocations: 35.88 kB / 1.489 GB, free: 7.215 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.69e-05/0.6693, allocations: 27.94 kB / 1.489 GB, free: 7.188 MB / 1.186 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.0006807/0.67, allocations: 343.8 kB / 1.489 GB, free: 6.844 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001957/0.6702, allocations: 107.4 kB / 1.49 GB, free: 6.738 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002193/0.6704, allocations: 109.2 kB / 1.49 GB, free: 6.629 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.6704, allocations: 16.03 kB / 1.49 GB, free: 6.613 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.6704, allocations: 0 / 1.49 GB, free: 6.613 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.6716, allocations: 0.7599 MB / 1.49 GB, free: 5.801 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/0.675, allocations: 1.808 MB / 1.492 GB, free: 3.898 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/0.675, allocations: 4 kB / 1.492 GB, free: 3.895 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/0.6757, allocations: 143.8 kB / 1.492 GB, free: 3.754 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001058/0.6758, allocations: 37.23 kB / 1.492 GB, free: 3.715 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.6758, allocations: 20 kB / 1.492 GB, free: 3.695 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/0.6772, allocations: 1.506 MB / 1.494 GB, free: 2.074 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.6772, allocations: 7.938 kB / 1.494 GB, free: 2.066 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.6791, allocations: 1.207 MB / 1.495 GB, free: 0.8008 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.6796, allocations: 183.2 kB / 1.495 GB, free: 0.6211 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001272/0.6797, allocations: 16 kB / 1.495 GB, free: 0.6055 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007128/0.6804, allocations: 43.83 kB / 1.495 GB, free: 0.5625 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.6806, allocations: 47.66 kB / 1.495 GB, free: 0.5156 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.249e-05/0.6806, allocations: 31.97 kB / 1.495 GB, free: 496 kB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0008517/0.6815, allocations: 0.6161 MB / 1.496 GB, free: 15.87 MB / 1.201 GB Notification: Performance of sort global known variables: time 7e-08/0.6815, allocations: 0 / 1.496 GB, free: 15.87 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009591/0.6824, allocations: 300 kB / 1.496 GB, free: 15.58 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.002431/0.6849, allocations: 1.84 MB / 1.498 GB, free: 13.67 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.6866, allocations: 0.9792 MB / 1.499 GB, free: 12.66 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6866, allocations: 1 kB / 1.499 GB, free: 12.66 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0006925/0.6873, allocations: 442.4 kB / 1.499 GB, free: 12.21 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002852/0.6901, allocations: 0.6447 MB / 1.5 GB, free: 11.58 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01184/0.7019, allocations: 7.974 MB / 1.508 GB, free: 3.285 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006974/0.7026, allocations: 0.5743 MB / 1.508 GB, free: 2.68 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009483/0.7036, allocations: 256.4 kB / 1.509 GB, free: 2.426 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005735/0.7042, allocations: 379.3 kB / 1.509 GB, free: 2.055 MB / 1.201 GB Notification: Performance of SimCode: time 7.42e-07/0.7042, allocations: 7.875 kB / 1.509 GB, free: 2.047 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07661/0.7808, allocations: 33.24 MB / 1.541 GB, free: 1.629 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/16.16, allocations: 7.875 kB / 1.541 GB, free: 1.625 MB / 1.232 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: 23.25168949388899]