Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001383/0.001383, allocations: 108.2 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 191.8 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.502/1.502, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.988/2.988, allocations: 476.7 MB / 0.7611 GB, free: 11.33 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 68.12 kB / 1.104 GB, free: 9.273 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9094/0.9115, allocations: 168.7 MB / 1.269 GB, free: 5.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2387/1.15, allocations: 191 MB / 1.455 GB, free: 5.438 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01222/1.162, allocations: 5.709 MB / 1.461 GB, free: 15.72 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/1.164, allocations: 43.75 kB / 1.461 GB, free: 15.68 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/1.166, allocations: 0.5903 MB / 1.461 GB, free: 15.08 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005064/1.171, allocations: 1.672 MB / 1.463 GB, free: 13.4 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003771/1.175, allocations: 1.21 MB / 1.464 GB, free: 12.2 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.004454/1.179, allocations: 2.508 MB / 1.467 GB, free: 9.684 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001697/1.181, allocations: 0.817 MB / 1.468 GB, free: 8.848 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002811/1.184, allocations: 1.074 MB / 1.469 GB, free: 7.77 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002686/1.187, allocations: 0.8837 MB / 1.469 GB, free: 6.891 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0004546/1.187, allocations: 100 kB / 1.47 GB, free: 6.793 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003746/1.191, allocations: 1.606 MB / 1.471 GB, free: 5.184 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009152/1.192, allocations: 0.5025 MB / 1.472 GB, free: 4.68 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.001416/1.193, allocations: 0.6183 MB / 1.472 GB, free: 4.059 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.004609/1.198, allocations: 2.114 MB / 1.474 GB, free: 1.938 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/1.198, allocations: 4 kB / 1.474 GB, free: 1.934 MB / 1.17 GB Notification: Performance of FrontEnd: time 2.024e-06/1.198, allocations: 0 / 1.474 GB, free: 1.934 MB / 1.17 GB Notification: Performance of Transformations before backend: time 6.609e-05/1.198, allocations: 0 / 1.474 GB, free: 1.934 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.003434/1.201, allocations: 1.513 MB / 1.476 GB, free: 372 kB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.201, allocations: 12.03 kB / 1.476 GB, free: 360 kB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003058/1.202, allocations: 143.1 kB / 1.476 GB, free: 208 kB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002306/1.204, allocations: 331 kB / 1.476 GB, free: 15.88 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001956/1.206, allocations: 0.8162 MB / 1.477 GB, free: 15.02 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.007e-05/1.206, allocations: 66 kB / 1.477 GB, free: 14.95 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001843/1.206, allocations: 84 kB / 1.477 GB, free: 14.87 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002129/1.208, allocations: 1.071 MB / 1.478 GB, free: 13.76 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.208, allocations: 7.938 kB / 1.478 GB, free: 13.75 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.561e-05/1.208, allocations: 36 kB / 1.478 GB, free: 13.72 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.024e-05/1.208, allocations: 34 kB / 1.478 GB, free: 13.68 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001668/1.21, allocations: 0.8275 MB / 1.479 GB, free: 12.86 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.006796/1.217, allocations: 4.271 MB / 1.483 GB, free: 8.312 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006604/1.218, allocations: 355.3 kB / 1.484 GB, free: 7.957 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/1.218, allocations: 202 kB / 1.484 GB, free: 7.758 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/1.218, allocations: 97.09 kB / 1.484 GB, free: 7.645 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.232e-05/1.218, allocations: 46.56 kB / 1.484 GB, free: 7.59 MB / 1.186 GB Notification: Performance of pre-optimization done (n=36): time 2.484e-06/1.218, allocations: 0 / 1.484 GB, free: 7.59 MB / 1.186 GB Notification: Performance of matching and sorting (n=38): time 0.003004/1.221, allocations: 1.346 MB / 1.485 GB, free: 6.191 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/1.221, allocations: 59.16 kB / 1.485 GB, free: 6.121 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/1.223, allocations: 1.008 MB / 1.486 GB, free: 5.09 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 7.737e-05/1.223, allocations: 37.7 kB / 1.486 GB, free: 5.047 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004614/1.223, allocations: 0.4963 MB / 1.487 GB, free: 4.547 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001479/1.223, allocations: 142.8 kB / 1.487 GB, free: 4.406 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002124/1.224, allocations: 126.2 kB / 1.487 GB, free: 4.277 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.224, allocations: 330 kB / 1.487 GB, free: 3.949 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004856/1.224, allocations: 237.2 kB / 1.488 GB, free: 3.715 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/1.225, allocations: 421.3 kB / 1.488 GB, free: 3.23 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.002676/1.228, allocations: 1.221 MB / 1.489 GB, free: 1.91 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.228, allocations: 0 / 1.489 GB, free: 1.91 MB / 1.186 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001571/1.229, allocations: 0.7736 MB / 1.49 GB, free: 1.129 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/1.229, allocations: 11.98 kB / 1.49 GB, free: 1.117 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.536e-05/1.229, allocations: 11.88 kB / 1.49 GB, free: 1.105 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/1.229, allocations: 8 kB / 1.49 GB, free: 1.098 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/1.23, allocations: 144.2 kB / 1.49 GB, free: 0.957 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.887e-05/1.23, allocations: 15.92 kB / 1.49 GB, free: 0.9414 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009943/1.231, allocations: 59.91 kB / 1.49 GB, free: 0.8828 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/1.231, allocations: 28 kB / 1.49 GB, free: 0.8555 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: 25 * 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 (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005859/1.231, allocations: 318 kB / 1.491 GB, free: 0.5352 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002143/1.232, allocations: 103.4 kB / 1.491 GB, free: 444 kB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002134/1.232, allocations: 105 kB / 1.491 GB, free: 340 kB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/1.232, allocations: 4 kB / 1.491 GB, free: 336 kB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.922e-06/1.232, allocations: 0 / 1.491 GB, free: 336 kB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008456/1.233, allocations: 0.683 MB / 1.491 GB, free: 15.56 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002728/1.236, allocations: 1.583 MB / 1.493 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.236, allocations: 0 / 1.493 GB, free: 13.87 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004153/1.236, allocations: 91.83 kB / 1.493 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.355e-06/1.236, allocations: 4 kB / 1.493 GB, free: 13.78 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.103e-05/1.236, allocations: 12.5 kB / 1.493 GB, free: 13.77 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/1.236, allocations: 15.94 kB / 1.493 GB, free: 13.75 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/1.236, allocations: 4 kB / 1.493 GB, free: 13.75 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/1.237, allocations: 0.8373 MB / 1.494 GB, free: 12.84 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005241/1.238, allocations: 236.5 kB / 1.494 GB, free: 12.59 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/1.238, allocations: 15.94 kB / 1.494 GB, free: 12.58 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000682/1.239, allocations: 35.97 kB / 1.494 GB, free: 12.54 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.706e-05/1.239, allocations: 39.84 kB / 1.494 GB, free: 12.5 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.938e-05/1.239, allocations: 23.98 kB / 1.494 GB, free: 12.48 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001118/1.24, allocations: 0.7077 MB / 1.495 GB, free: 11.76 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.01e-07/1.24, allocations: 0 / 1.495 GB, free: 11.76 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0009032/1.241, allocations: 263.9 kB / 1.495 GB, free: 11.5 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (38): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001912/1.243, allocations: 1.485 MB / 1.497 GB, free: 9.949 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.001061/1.244, allocations: 492.1 kB / 1.497 GB, free: 9.469 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.244, allocations: 3.938 kB / 1.497 GB, free: 9.465 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002899/1.244, allocations: 187.8 kB / 1.497 GB, free: 9.285 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00285/1.247, allocations: 0.613 MB / 1.498 GB, free: 8.684 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.26, allocations: 7.634 MB / 1.505 GB, free: 0.6719 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009663/1.261, allocations: 1.095 MB / 1.506 GB, free: 15.55 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.001153/1.262, allocations: 252.2 kB / 1.507 GB, free: 15.3 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/1.262, allocations: 343.3 kB / 1.507 GB, free: 14.96 MB / 1.217 GB Notification: Performance of SimCode: time 2.084e-06/1.262, allocations: 4 kB / 1.507 GB, free: 14.96 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07082/1.333, allocations: 27.91 MB / 1.534 GB, free: 3.504 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.07/11.4, allocations: 15.92 kB / 1.534 GB, free: 3.488 MB / 1.232 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.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: 17.82517553679645]