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.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.001315/0.001315, allocations: 97.31 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.001604/0.001604, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.488/1.488, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.871/2.871, allocations: 476.8 MB / 0.7715 GB, free: 3.875 MB / 0.6231 GB " [Timeout remaining time 177] 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.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="Buildings_11_Buildings_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",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.002029/0.002029, allocations: 63.39 kB / 1.118 GB, free: 39.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3237/0.3258, allocations: 170 MB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.2228/0.5485, allocations: 168.1 MB / 1.448 GB, free: 1.855 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01125/0.5598, allocations: 5.392 MB / 1.454 GB, free: 12.45 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001986/0.5618, allocations: 55.5 kB / 1.454 GB, free: 12.4 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.001963/0.5637, allocations: 0.5358 MB / 1.454 GB, free: 11.86 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.005795/0.5695, allocations: 1.684 MB / 1.456 GB, free: 10.17 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.003919/0.5734, allocations: 1.244 MB / 1.457 GB, free: 8.934 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.004617/0.5781, allocations: 2.562 MB / 1.459 GB, free: 6.367 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001497/0.5796, allocations: 0.72 MB / 1.46 GB, free: 5.629 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002696/0.5823, allocations: 1.094 MB / 1.461 GB, free: 4.531 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002566/0.5848, allocations: 0.877 MB / 1.462 GB, free: 3.656 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.5851, allocations: 100 kB / 1.462 GB, free: 3.559 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003342/0.5884, allocations: 1.294 MB / 1.463 GB, free: 2.262 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0007489/0.5892, allocations: 0.4946 MB / 1.464 GB, free: 1.766 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0009525/0.5901, allocations: 0.5096 MB / 1.464 GB, free: 1.254 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/0.5943, allocations: 2.087 MB / 1.466 GB, free: 15.16 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5944, allocations: 0 / 1.466 GB, free: 15.16 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5944, allocations: 4 kB / 1.467 GB, free: 15.16 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.078e-05/0.5944, allocations: 0 / 1.467 GB, free: 15.16 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.002945/0.5973, allocations: 1.43 MB / 1.468 GB, free: 13.69 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5974, allocations: 12.03 kB / 1.468 GB, free: 13.68 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.504e-05/0.5974, allocations: 22 kB / 1.468 GB, free: 13.66 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002157/0.5976, allocations: 139.2 kB / 1.468 GB, free: 13.51 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002347/0.6, allocations: 335 kB / 1.468 GB, free: 13.18 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001706/0.6017, allocations: 0.744 MB / 1.469 GB, free: 12.41 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.37e-05/0.6018, allocations: 70 kB / 1.469 GB, free: 12.34 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.602, allocations: 87.94 kB / 1.469 GB, free: 12.26 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00233/0.6043, allocations: 1.472 MB / 1.471 GB, free: 10.64 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.208e-05/0.6043, allocations: 7.922 kB / 1.471 GB, free: 10.64 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.914e-05/0.6044, allocations: 40 kB / 1.471 GB, free: 10.6 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.111e-05/0.6045, allocations: 34 kB / 1.471 GB, free: 10.57 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.6061, allocations: 0.8275 MB / 1.472 GB, free: 9.734 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.006061/0.6122, allocations: 3.268 MB / 1.475 GB, free: 6.371 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.6129, allocations: 353.8 kB / 1.475 GB, free: 6.02 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003221/0.6132, allocations: 196.8 kB / 1.475 GB, free: 5.824 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001747/0.6134, allocations: 27.98 kB / 1.475 GB, free: 5.797 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.6134, allocations: 42.56 kB / 1.475 GB, free: 5.746 MB / 1.17 GB Notification: Performance of pre-optimization done (n=36): time 2.826e-06/0.6134, allocations: 0 / 1.475 GB, free: 5.746 MB / 1.17 GB Notification: Performance of matching and sorting (n=38): time 0.002988/0.6164, allocations: 1.273 MB / 1.477 GB, free: 4.441 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.29e-05/0.6165, allocations: 59.34 kB / 1.477 GB, free: 4.371 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001665/0.6182, allocations: 1.001 MB / 1.478 GB, free: 3.348 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 6.926e-05/0.6182, allocations: 33.7 kB / 1.478 GB, free: 3.309 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005302/0.6188, allocations: 0.5041 MB / 1.478 GB, free: 2.801 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.6189, allocations: 142.8 kB / 1.478 GB, free: 2.66 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002594/0.6192, allocations: 126.2 kB / 1.478 GB, free: 2.531 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.6194, allocations: 330 kB / 1.479 GB, free: 2.203 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005338/0.6199, allocations: 237.2 kB / 1.479 GB, free: 1.969 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000767/0.6207, allocations: 467.3 kB / 1.479 GB, free: 1.426 MB / 1.17 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.002869/0.6236, allocations: 1.139 MB / 1.481 GB, free: 212 kB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.6236, allocations: 3.938 kB / 1.481 GB, free: 208 kB / 1.17 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001775/0.6253, allocations: 0.77 MB / 1.481 GB, free: 15.43 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.6254, allocations: 7.938 kB / 1.481 GB, free: 15.42 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.6254, allocations: 12.03 kB / 1.481 GB, free: 15.41 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.912e-05/0.6254, allocations: 8 kB / 1.481 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006607/0.6261, allocations: 143.7 kB / 1.481 GB, free: 15.26 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.821e-05/0.6261, allocations: 12 kB / 1.481 GB, free: 15.25 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.6271, allocations: 51.95 kB / 1.482 GB, free: 15.2 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.216e-05/0.6272, allocations: 27.98 kB / 1.482 GB, free: 15.17 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.0006824/0.6279, allocations: 317.5 kB / 1.482 GB, free: 14.85 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002194/0.6281, allocations: 103.3 kB / 1.482 GB, free: 14.75 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002188/0.6284, allocations: 105 kB / 1.482 GB, free: 14.64 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.6284, allocations: 7.938 kB / 1.482 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/0.6284, allocations: 0 / 1.482 GB, free: 14.63 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000869/0.6292, allocations: 0.6789 MB / 1.483 GB, free: 13.86 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002756/0.632, allocations: 1.44 MB / 1.484 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.632, allocations: 8.031 kB / 1.484 GB, free: 12.32 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.6324, allocations: 83.89 kB / 1.484 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.6324, allocations: 8 kB / 1.484 GB, free: 12.23 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.6325, allocations: 19.94 kB / 1.484 GB, free: 12.21 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.829e-06/0.6325, allocations: 7.938 kB / 1.484 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.6325, allocations: 4 kB / 1.484 GB, free: 12.2 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/0.6338, allocations: 0.8377 MB / 1.485 GB, free: 11.29 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004681/0.6343, allocations: 167.3 kB / 1.485 GB, free: 11.13 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/0.6344, allocations: 15.98 kB / 1.485 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.6351, allocations: 43.86 kB / 1.485 GB, free: 11.07 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.257e-05/0.6352, allocations: 35.89 kB / 1.485 GB, free: 11.04 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.574e-05/0.6353, allocations: 23.98 kB / 1.485 GB, free: 11.01 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001234/0.6365, allocations: 0.7116 MB / 1.486 GB, free: 10.29 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6365, allocations: 0 / 1.486 GB, free: 10.29 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0009908/0.6375, allocations: 255.9 kB / 1.486 GB, free: 10.04 MB / 1.186 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.002/0.6395, allocations: 1.464 MB / 1.488 GB, free: 8.496 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.00118/0.6407, allocations: 495.5 kB / 1.488 GB, free: 8.012 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6407, allocations: 0 / 1.488 GB, free: 8.012 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0003034/0.641, allocations: 187.3 kB / 1.488 GB, free: 7.832 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003035/0.644, allocations: 0.6269 MB / 1.489 GB, free: 7.219 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01335/0.6574, allocations: 7.638 MB / 1.496 GB, free: 15.2 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006668/0.658, allocations: 0.504 MB / 1.497 GB, free: 14.66 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0009839/0.659, allocations: 248.4 kB / 1.497 GB, free: 14.42 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005326/0.6595, allocations: 339.3 kB / 1.497 GB, free: 14.09 MB / 1.201 GB Notification: Performance of SimCode: time 1.012e-06/0.6595, allocations: 0 / 1.497 GB, free: 14.09 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07567/0.7352, allocations: 30.51 MB / 1.527 GB, free: 360 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.96/14.69, allocations: 8.062 kB / 1.527 GB, free: 352 kB / 1.217 GB " [Timeout remaining time 285] (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/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: 21.62916671403218]